public class ExtBasicMenuUI extends BasicMenuUI
MenuUI used by the JGoodies Windows
and Plastic looks. Unlike it's superclass, it aligns submenu items.BasicMenuUI.ChangeHandler, BasicMenuUI.MouseInputHandlerchangeListener, menuListeneracceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground| Constructor and Description |
|---|
ExtBasicMenuUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent b) |
protected Dimension |
getPreferredMenuItemSize(JComponent c,
Icon aCheckIcon,
Icon anArrowIcon,
int textIconGap) |
protected String |
getPropertyPrefix() |
protected void |
installDefaults() |
protected void |
installListeners() |
protected void |
paintMenuItem(Graphics g,
JComponent c,
Icon aCheckIcon,
Icon anArrowIcon,
Color background,
Color foreground,
int textIconGap) |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
createChangeListener, 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 installDefaults()
installDefaults in class BasicMenuUIprotected void uninstallDefaults()
uninstallDefaults in class BasicMenuUIprotected String getPropertyPrefix()
getPropertyPrefix in class BasicMenuUIprotected Dimension getPreferredMenuItemSize(JComponent c, Icon aCheckIcon, Icon anArrowIcon, int textIconGap)
getPreferredMenuItemSize in class BasicMenuItemUIprotected void paintMenuItem(Graphics g, JComponent c, Icon aCheckIcon, Icon anArrowIcon, Color background, Color foreground, int textIconGap)
paintMenuItem in class BasicMenuItemUIprotected void installListeners()
installListeners in class BasicMenuUIprotected void uninstallListeners()
uninstallListeners in class BasicMenuUICopyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.