|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
com.jgoodies.looks.common.ExtBasicMenuItemUI
com.jgoodies.looks.windows.WindowsMenuItemUI
public final class WindowsMenuItemUI
The JGoodies Windows look&feel implementation of MenuItemUI.
It differs from the superclass in that it uses a Windows specific menu item renderer that checks if mnemonics shall be shown or hidden and may paint disabled text with a shadow.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
|---|
javax.swing.plaf.basic.BasicMenuItemUI.MouseInputHandler |
| Field Summary |
|---|
| Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
|---|
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground |
| Constructor Summary | |
|---|---|
WindowsMenuItemUI()
|
|
| Method Summary | |
|---|---|
protected MenuItemRenderer |
createRenderer(javax.swing.JMenuItem menuItem,
boolean iconBorderEnabled,
java.awt.Font acceleratorFont,
java.awt.Color selectionForeground,
java.awt.Color disabledForeground,
java.awt.Color acceleratorForeground,
java.awt.Color acceleratorSelectionForeground)
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
|
| Methods inherited from class com.jgoodies.looks.common.ExtBasicMenuItemUI |
|---|
getPreferredMenuItemSize, iconBorderEnabled, installDefaults, paintMenuItem, uninstallDefaults |
| Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
|---|
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredSize, getPropertyPrefix, installComponents, installKeyboardActions, installListeners, installUI, paint, paintBackground, paintText, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI, update |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowsMenuItemUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected MenuItemRenderer createRenderer(javax.swing.JMenuItem menuItem,
boolean iconBorderEnabled,
java.awt.Font acceleratorFont,
java.awt.Color selectionForeground,
java.awt.Color disabledForeground,
java.awt.Color acceleratorForeground,
java.awt.Color acceleratorSelectionForeground)
createRenderer in class ExtBasicMenuItemUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||