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 javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
|
protected boolean |
isPaintingBackground() |
Returns indication whether the button background is painted.
|
protected void |
paintButtonIcon(java.awt.Graphics g,
java.awt.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
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected void paintButtonIcon(java.awt.Graphics g, java.awt.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.