public class BasicCommandToggleMenuButtonUI extends BasicCommandToggleButtonUI
JCommandToggleMenuButton
component.basicPopupButtonListener, buttonRendererPane, commandButton, disposePopupsActionListener, DONT_DISPOSE_POPUPS, EMULATE_SQUARE_BUTTON, isUnderMouse, layoutInfo, layoutManager, popupActionIcon, popupActionListener, propertyChangeListener, rendererButton, rendererSeparator
Constructor | Description |
---|---|
BasicCommandToggleMenuButtonUI() |
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI(JComponent c) |
|
protected boolean |
isPaintingBackground() |
Returns indication whether the button background is painted.
|
protected void |
paintButtonIcon(Graphics g,
Rectangle iconRect) |
Paints the button icon.
|
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, updateCustomDimension
createRendererButton, isPaintingSeparators, updatePopupActionIcon
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize
public static ComponentUI createUI(JComponent c)
protected void paintButtonIcon(Graphics g, Rectangle iconRect)
BasicCommandButtonUI
paintButtonIcon
in class BasicCommandButtonUI
g
- Graphics context.iconRect
- Icon rectangle.protected boolean isPaintingBackground()
BasicCommandButtonUI
isPaintingBackground
in class BasicCommandButtonUI
true
if the button background is painted.