public final class WindowsMenuItemUI extends ExtBasicMenuItemUI
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.
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
Constructor | Description |
---|---|
WindowsMenuItemUI() |
Modifier and Type | Method | Description |
---|---|---|
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) |
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredSize, getPropertyPrefix, installComponents, installKeyboardActions, installListeners, installUI, paint, paintBackground, paintText, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
getPreferredMenuItemSize, iconBorderEnabled, installDefaults, paintMenuItem, uninstallDefaults
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
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.