org.pushingpixels.flamingo.internal.ui.common
public class BasicCommandMenuButtonUI extends BasicCommandButtonUI
JCommandMenuButton
component.Modifier and Type | Field and Description |
---|---|
protected MouseListener |
rolloverMenuMouseListener
Rollover menu mouse listener.
|
basicPopupButtonListener, buttonRendererPane, commandButton, disposePopupsActionListener, DONT_DISPOSE_POPUPS, EMULATE_SQUARE_BUTTON, isUnderMouse, layoutInfo, layoutManager, popupActionIcon, popupActionListener, propertyChangeListener, rendererButton, rendererSeparator
Constructor and Description |
---|
BasicCommandMenuButtonUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c) |
protected void |
fireRolloverActionPerformed(ActionEvent e)
Fires the rollover action on all registered handlers.
|
protected void |
installListeners()
Installs listeners on the associated command button.
|
protected void |
uninstallListeners()
Uninstalls listeners from the associated command button.
|
void |
update(Graphics g,
JComponent c) |
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, updatePopupActionIcon
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize
protected MouseListener rolloverMenuMouseListener
public static ComponentUI createUI(JComponent c)
protected void installListeners()
BasicCommandButtonUI
installListeners
in class BasicCommandButtonUI
protected void uninstallListeners()
BasicCommandButtonUI
uninstallListeners
in class BasicCommandButtonUI
protected void fireRolloverActionPerformed(ActionEvent e)
e
- Event object.public void update(Graphics g, JComponent c)
update
in class BasicCommandButtonUI