public class BasicCommandMenuButtonUI extends BasicCommandButtonUI
JCommandMenuButton
component.Modifier and Type | Field and Description |
---|---|
protected java.awt.event.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 javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
protected void |
fireRolloverActionPerformed(java.awt.event.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(java.awt.Graphics g,
javax.swing.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
protected java.awt.event.MouseListener rolloverMenuMouseListener
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected void installListeners()
BasicCommandButtonUI
installListeners
in class BasicCommandButtonUI
protected void uninstallListeners()
BasicCommandButtonUI
uninstallListeners
in class BasicCommandButtonUI
protected void fireRolloverActionPerformed(java.awt.event.ActionEvent e)
e
- Event object.public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class BasicCommandButtonUI