public class ExtBasicMenuUI
extends javax.swing.plaf.basic.BasicMenuUI
MenuUI used by the JGoodies Windows
and Plastic looks. Unlike it's superclass, it aligns submenu items.acceleratorDelimiter, 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 javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b) |
protected java.awt.Dimension |
getPreferredMenuItemSize(javax.swing.JComponent c,
javax.swing.Icon aCheckIcon,
javax.swing.Icon anArrowIcon,
int textIconGap) |
protected java.lang.String |
getPropertyPrefix() |
protected void |
installDefaults() |
protected void |
installListeners() |
protected void |
paintMenuItem(java.awt.Graphics g,
javax.swing.JComponent c,
javax.swing.Icon aCheckIcon,
javax.swing.Icon anArrowIcon,
java.awt.Color background,
java.awt.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, updatepublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected void installDefaults()
installDefaults in class javax.swing.plaf.basic.BasicMenuUIprotected void uninstallDefaults()
uninstallDefaults in class javax.swing.plaf.basic.BasicMenuUIprotected java.lang.String getPropertyPrefix()
getPropertyPrefix in class javax.swing.plaf.basic.BasicMenuUIprotected java.awt.Dimension getPreferredMenuItemSize(javax.swing.JComponent c,
javax.swing.Icon aCheckIcon,
javax.swing.Icon anArrowIcon,
int textIconGap)
getPreferredMenuItemSize in class javax.swing.plaf.basic.BasicMenuItemUIprotected void paintMenuItem(java.awt.Graphics g,
javax.swing.JComponent c,
javax.swing.Icon aCheckIcon,
javax.swing.Icon anArrowIcon,
java.awt.Color background,
java.awt.Color foreground,
int textIconGap)
paintMenuItem in class javax.swing.plaf.basic.BasicMenuItemUIprotected void installListeners()
installListeners in class javax.swing.plaf.basic.BasicMenuUIprotected void uninstallListeners()
uninstallListeners in class javax.swing.plaf.basic.BasicMenuUICopyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.