public final class PlasticMenuUI extends ExtBasicMenuUI
MenuUI.
It differs from the superclass in that it uses an overhauled menu
rendering and alignment system. Furthermore, you can set a client property
Options.NO_ICONS_KEY to indicate that this menu has no icons.OptionsBasicMenuUI.ChangeHandler, BasicMenuUI.MouseInputHandlerchangeListener, menuListeneracceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground| Constructor and Description |
|---|
PlasticMenuUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent b) |
protected void |
paintMenuItem(Graphics g,
JComponent c,
Icon aCheckIcon,
Icon anArrowIcon,
Color background,
Color foreground,
int textIconGap)
Makes the item transparent, if it is not a sub menu and the model is not selected.
|
getPreferredMenuItemSize, getPropertyPrefix, installDefaults, installListeners, uninstallDefaults, uninstallListenerscreateChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createMouseInputListener, createPropertyChangeListener, getMaximumSize, installKeyboardActions, setupPostTimer, uninstallKeyboardActionsdoClick, getMinimumSize, getPath, getPreferredSize, installComponents, installUI, paint, paintBackground, paintText, uninstallComponents, uninstallUI, updatecontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorpublic static ComponentUI createUI(JComponent b)
protected void paintMenuItem(Graphics g, JComponent c, Icon aCheckIcon, Icon anArrowIcon, Color background, Color foreground, int textIconGap)
paintMenuItem in class ExtBasicMenuUICopyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.