public class EclipseJideSplitButtonUI extends EclipseMenuUI
Modifier and Type | Class and Description |
---|---|
protected class |
EclipseJideSplitButtonUI.MouseInputHandler |
EclipseMenuUI.ChangeHandler
Modifier and Type | Field and Description |
---|---|
protected Color |
_darkShadowColor |
protected Color |
_highlight |
protected Color |
_lightHighlightColor |
protected ThemePainter |
_painter |
protected Color |
_shadowColor |
protected int |
_splitButtonMargin |
protected int |
_splitButtonMarginOnMenu |
changeListener, menuListener, propertyChangeListener
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultAccelEndGap, defaultShadowWidth, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground, shadowColor
Constructor and Description |
---|
EclipseJideSplitButtonUI() |
appendPath, createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createPropertyChangeListener, isMouseOver, paintText, setMouseOver, setupPostTimer
doClick, getPainter, getPath, getPreferredMenuItemSize, installComponents, installUI, isDownArrowVisible, paint, paintMenuItem, uninstallComponents, uninstallUI, update
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
protected ThemePainter _painter
protected Color _shadowColor
protected Color _darkShadowColor
protected Color _highlight
protected Color _lightHighlightColor
protected int _splitButtonMargin
protected int _splitButtonMarginOnMenu
protected String getPropertyPrefix()
getPropertyPrefix
in class EclipseMenuUI
public static ComponentUI createUI(JComponent c)
protected void installDefaults()
installDefaults
in class EclipseMenuUI
protected void uninstallDefaults()
uninstallDefaults
in class EclipseMenuUI
protected void installListeners()
installListeners
in class EclipseMenuUI
protected void uninstallListeners()
uninstallListeners
in class EclipseMenuUI
public InputMap getInputMap(int condition, JComponent c)
condition
. Called as part of
installKeyboardActions
.protected void installKeyboardActions()
installKeyboardActions
in class EclipseMenuUI
protected void uninstallKeyboardActions()
uninstallKeyboardActions
in class EclipseMenuUI
protected MouseInputListener createMouseInputListener(JComponent c)
createMouseInputListener
in class EclipseMenuUI
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor)
EclipseMenuUI
paintBackground
in class EclipseMenuUI
g
- the paint graphicsmenuItem
- menu item to be paintedbgColor
- selection background colorpublic Dimension getMinimumSize(JComponent c)
getMinimumSize
in class EclipseMenuItemUI
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class EclipseMenuUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class EclipseMenuUI
protected int getOffset()
public static void loadActionMap(LazyActionMap map)
protected static void downButtonPressed(JMenu menu)