com.jgoodies.looks.common
public class ExtBasicMenuItemUI extends BasicMenuItemUI
MenuItemUI used by the
JGoodies Windows and Plastic looks.
Unlike it's superclass it aligns menu items, uses a slightly
smaller gap between text and icon, which you can override
in the UI defaults.
Version: $Revision: 1.6 $
| Method Summary | |
|---|---|
| protected MenuItemRenderer | createRenderer(JMenuItem menuItem, boolean iconBorderEnabled, Font acceleratorFont, Color selectionForeground, Color disabledForeground, Color acceleratorForeground, Color acceleratorSelectionForeground) |
| static ComponentUI | createUI(JComponent b) |
| protected Dimension | getPreferredMenuItemSize(JComponent c, Icon aCheckIcon, Icon anArrowIcon, int textIconGap) |
| protected boolean | iconBorderEnabled() |
| protected void | installDefaults() |
| protected void | paintMenuItem(Graphics g, JComponent c, Icon aCheckIcon, Icon anArrowIcon, Color background, Color foreground, int textIconGap) |
| protected void | uninstallDefaults() |