Class BasicCommandToggleMenuButtonUI
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.BasicCommandToggleButtonUI
org.pushingpixels.flamingo.internal.ui.common.BasicCommandToggleMenuButtonUI
Basic UI delegate for the
JCommandToggleMenuButton component.-
Field Summary
Fields 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 booleanReturns indication whether the button background is painted.protected voidpaintButtonIcon(Graphics g, Rectangle iconRect) Paints the button icon.Methods inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandToggleButtonUI
createRendererButton, isPaintingSeparators, updatePopupActionIconMethods inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonUI
configureRenderer, createButtonListener, createPopupActionIcon, createPopupActionListener, getForegroundColor, getIconToPaint, getKeyTipAnchorCenterPoint, getLayoutGap, getLayoutInfo, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintButtonBackground, paintButtonBackground, paintButtonHorizontalSeparator, paintButtonVerticalSeparator, paintPopupActionIcon, processPopupAction, syncDisabledIcon, syncIconDimension, toUseDisabledIcon, unconfigureRenderer, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, updateBorder, updateCustomDimensionMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize
-
Constructor Details
-
BasicCommandToggleMenuButtonUI
public BasicCommandToggleMenuButtonUI()
-
-
Method Details
-
createUI
-
paintButtonIcon
Description copied from class:BasicCommandButtonUIPaints the button icon.- Overrides:
paintButtonIconin classBasicCommandButtonUI- Parameters:
g- Graphics context.iconRect- Icon rectangle.
-
isPaintingBackground
protected boolean isPaintingBackground()Description copied from class:BasicCommandButtonUIReturns indication whether the button background is painted.- Overrides:
isPaintingBackgroundin classBasicCommandButtonUI- Returns:
trueif the button background is painted.
-