public class EclipseJideSplitButtonUI extends EclipseMenuUI
| Modifier and Type | Class and Description |
|---|---|
protected class |
EclipseJideSplitButtonUI.MouseInputHandler |
EclipseMenuUI.ChangeHandler| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
_darkShadowColor |
protected java.awt.Color |
_highlight |
protected java.awt.Color |
_lightHighlightColor |
protected ThemePainter |
_painter |
protected java.awt.Color |
_shadowColor |
protected int |
_splitButtonMargin |
protected int |
_splitButtonMarginOnMenu |
changeListener, menuListener, propertyChangeListeneracceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultAccelEndGap, defaultShadowWidth, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground, shadowColor| Constructor and Description |
|---|
EclipseJideSplitButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.event.MouseInputListener |
createMouseInputListener(javax.swing.JComponent c) |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
protected static void |
downButtonPressed(javax.swing.JMenu menu) |
protected static java.awt.Container |
getFirstParentMenuElement(java.awt.Component comp) |
javax.swing.InputMap |
getInputMap(int condition,
javax.swing.JComponent c)
Returns the InputMap for condition
condition. |
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c) |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c) |
protected int |
getOffset() |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
protected java.lang.String |
getPropertyPrefix() |
protected void |
installDefaults() |
protected void |
installKeyboardActions() |
protected void |
installListeners() |
static void |
loadActionMap(LazyActionMap map)
Populates Buttons actions.
|
protected void |
paintBackground(java.awt.Graphics g,
javax.swing.JMenuItem menuItem,
java.awt.Color bgColor)
Draws the background of the menu item.
|
protected void |
paintIcon(javax.swing.JMenuItem b,
java.awt.Graphics g) |
protected void |
uninstallDefaults() |
protected void |
uninstallKeyboardActions() |
protected void |
uninstallListeners() |
appendPath, createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createPropertyChangeListener, isMouseOver, paintText, setMouseOver, setupPostTimerdoClick, getPainter, getPath, getPreferredMenuItemSize, installComponents, installUI, isDownArrowVisible, paint, paintMenuItem, uninstallComponents, uninstallUI, updateprotected ThemePainter _painter
protected java.awt.Color _shadowColor
protected java.awt.Color _darkShadowColor
protected java.awt.Color _highlight
protected java.awt.Color _lightHighlightColor
protected int _splitButtonMargin
protected int _splitButtonMarginOnMenu
protected java.lang.String getPropertyPrefix()
getPropertyPrefix in class EclipseMenuUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected void installDefaults()
installDefaults in class EclipseMenuUIprotected void uninstallDefaults()
uninstallDefaults in class EclipseMenuUIprotected void installListeners()
installListeners in class EclipseMenuUIprotected void uninstallListeners()
uninstallListeners in class EclipseMenuUIpublic javax.swing.InputMap getInputMap(int condition,
javax.swing.JComponent c)
condition. Called as part of
installKeyboardActions.protected void installKeyboardActions()
installKeyboardActions in class EclipseMenuUIprotected void uninstallKeyboardActions()
uninstallKeyboardActions in class EclipseMenuUIprotected javax.swing.event.MouseInputListener createMouseInputListener(javax.swing.JComponent c)
createMouseInputListener in class EclipseMenuUIprotected void paintBackground(java.awt.Graphics g,
javax.swing.JMenuItem menuItem,
java.awt.Color bgColor)
EclipseMenuUIpaintBackground in class EclipseMenuUIg - the paint graphicsmenuItem - menu item to be paintedbgColor - selection background colorpublic java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class EclipseMenuItemUIpublic java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize in class EclipseMenuUIpublic java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class EclipseMenuUIprotected void paintIcon(javax.swing.JMenuItem b,
java.awt.Graphics g)
protected int getOffset()
public static void loadActionMap(LazyActionMap map)
protected static void downButtonPressed(javax.swing.JMenu menu)
protected static java.awt.Container getFirstParentMenuElement(java.awt.Component comp)