public class QuaquaMenuItemUI extends javax.swing.plaf.basic.BasicMenuItemUI implements QuaquaMenuPainterClient
This class provides the following workarounds for issues in Apple's implementation of the Aqua Look and Feel in Java 1.4.1:
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground| Modifier and Type | Method and Description |
|---|---|
protected void |
addListeners() |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent jcomponent) |
protected java.awt.Dimension |
getPreferredMenuItemSize(javax.swing.JComponent c,
javax.swing.Icon checkIcon,
javax.swing.Icon arrowIcon,
int defaultTextIconGap) |
protected java.lang.String |
getPropertyPrefix() |
void |
paintBackground(java.awt.Graphics g,
javax.swing.JComponent component,
int menuWidth,
int menuHeight) |
protected void |
paintMenuItem(java.awt.Graphics g,
javax.swing.JComponent c,
javax.swing.Icon checkIcon,
javax.swing.Icon arrowIcon,
java.awt.Color background,
java.awt.Color foreground,
int defaultTextIconGap) |
protected void |
removeListeners() |
protected void |
setIsScreenMenu(boolean bool) |
void |
update(java.awt.Graphics graphics,
javax.swing.JComponent jcomponent) |
protected void |
updateListenersForScreenMenuItem() |
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintBackground, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent jcomponent)
protected java.lang.String getPropertyPrefix()
getPropertyPrefix in class javax.swing.plaf.basic.BasicMenuItemUIprotected void updateListenersForScreenMenuItem()
protected void setIsScreenMenu(boolean bool)
protected void removeListeners()
protected void addListeners()
protected void paintMenuItem(java.awt.Graphics g,
javax.swing.JComponent c,
javax.swing.Icon checkIcon,
javax.swing.Icon arrowIcon,
java.awt.Color background,
java.awt.Color foreground,
int defaultTextIconGap)
paintMenuItem in class javax.swing.plaf.basic.BasicMenuItemUIprotected java.awt.Dimension getPreferredMenuItemSize(javax.swing.JComponent c,
javax.swing.Icon checkIcon,
javax.swing.Icon arrowIcon,
int defaultTextIconGap)
getPreferredMenuItemSize in class javax.swing.plaf.basic.BasicMenuItemUIpublic void update(java.awt.Graphics graphics,
javax.swing.JComponent jcomponent)
update in class javax.swing.plaf.basic.BasicMenuItemUIpublic void paintBackground(java.awt.Graphics g,
javax.swing.JComponent component,
int menuWidth,
int menuHeight)
paintBackground in interface QuaquaMenuPainterClient