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, uninstallKeyboardActions
doClick, getMinimumSize, getPath, getPreferredSize, installComponents, installUI, paint, paintBackground, paintText, uninstallComponents, uninstallUI, update
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicMenuUI
protected void uninstallDefaults()
uninstallDefaults
in class javax.swing.plaf.basic.BasicMenuUI
protected java.lang.String getPropertyPrefix()
getPropertyPrefix
in class javax.swing.plaf.basic.BasicMenuUI
protected 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.BasicMenuItemUI
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)
paintMenuItem
in class javax.swing.plaf.basic.BasicMenuItemUI
protected void installListeners()
installListeners
in class javax.swing.plaf.basic.BasicMenuUI
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicMenuUI
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.