Class BasicCommandToggleButtonUI
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
- Direct Known Subclasses:
BasicCommandToggleMenuButtonUI,BasicRibbonTaskToggleButtonUI
Basic UI for command toggle button
JCommandToggleButton.-
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 TypeMethodDescriptionprotected AbstractButtonCreates the renderer button.static ComponentUIprotected booleanReturns indication whether the action-popup areas separator is painted.protected voidUpdates the popup action icon.Methods 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, isPaintingBackground, paint, paintButtonBackground, paintButtonBackground, paintButtonHorizontalSeparator, paintButtonIcon, 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
-
BasicCommandToggleButtonUI
public BasicCommandToggleButtonUI()Creates a new UI delegate.
-
-
Method Details
-
createUI
-
updatePopupActionIcon
protected void updatePopupActionIcon()Description copied from class:BasicCommandButtonUIUpdates the popup action icon.- Overrides:
updatePopupActionIconin classBasicCommandButtonUI
-
isPaintingSeparators
protected boolean isPaintingSeparators()Description copied from class:BasicCommandButtonUIReturns indication whether the action-popup areas separator is painted.- Overrides:
isPaintingSeparatorsin classBasicCommandButtonUI- Returns:
trueif the action-popup areas separator is painted.
-
createRendererButton
Description copied from class:BasicCommandButtonUICreates the renderer button.- Overrides:
createRendererButtonin classBasicCommandButtonUI- Returns:
- The renderer button.
-