Class BasicCommandMenuButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
org.pushingpixels.flamingo.internal.ui.common.CommandButtonUI
org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI
org.pushingpixels.flamingo.internal.ui.common.BasicCommandMenuButtonUI
Basic UI delegate for the
JCommandMenuButton component.-
Field Summary
FieldsFields inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI
basicPopupButtonListener, buttonRendererPane, commandButton, disposePopupsActionListener, DONT_DISPOSE_POPUPS, EMULATE_SQUARE_BUTTON, isUnderMouse, layoutInfo, layoutManager, popupActionIcon, popupActionListener, propertyChangeListener, rendererButton, rendererSeparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIprotected voidFires the rollover action on all registered handlers.protected voidInstalls listeners on the associated command button.protected voidUninstalls listeners from the associated command button.voidupdate(Graphics g, JComponent c) Methods inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI
configureRenderer, createButtonListener, createPopupActionIcon, createPopupActionListener, createRendererButton, getForegroundColor, getIconToPaint, getKeyTipAnchorCenterPoint, getLayoutGap, getLayoutInfo, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installUI, isPaintingBackground, isPaintingSeparators, paint, paintButtonBackground, paintButtonBackground, paintButtonHorizontalSeparator, paintButtonIcon, paintButtonVerticalSeparator, paintPopupActionIcon, processPopupAction, syncDisabledIcon, syncIconDimension, toUseDisabledIcon, unconfigureRenderer, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI, updateBorder, updateCustomDimension, updatePopupActionIconMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize
-
Field Details
-
rolloverMenuMouseListener
Rollover menu mouse listener.
-
-
Constructor Details
-
BasicCommandMenuButtonUI
public BasicCommandMenuButtonUI()
-
-
Method Details
-
createUI
-
installListeners
protected void installListeners()Description copied from class:BasicCommandButtonUIInstalls listeners on the associated command button.- Overrides:
installListenersin classBasicCommandButtonUI
-
uninstallListeners
protected void uninstallListeners()Description copied from class:BasicCommandButtonUIUninstalls listeners from the associated command button.- Overrides:
uninstallListenersin classBasicCommandButtonUI
-
fireRolloverActionPerformed
Fires the rollover action on all registered handlers.- Parameters:
e- Event object.
-
update
- Overrides:
updatein classBasicCommandButtonUI
-