| javax.swing.plaf.basic.BasicMenuItemUI com.jgoodies.looks.common.ExtBasicMenuItemUI
All known Subclasses: com.jgoodies.looks.windows.WindowsMenuItemUI, com.jgoodies.looks.common.ExtBasicRadioButtonMenuItemUI,
ExtBasicMenuItemUI | public class ExtBasicMenuItemUI extends BasicMenuItemUI (Code) | | An implementation of 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.
author: Karsten Lentzsch version: $Revision: 1.4 $ |
Method Summary | |
protected MenuItemRenderer | createRenderer(JMenuItem menuItem, boolean iconBorderEnabled, Font acceleratorFont, Color selectionForeground, Color disabledForeground, Color acceleratorForeground, Color acceleratorSelectionForeground) | public 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() |
iconBorderEnabled | protected boolean iconBorderEnabled()(Code) | | |
installDefaults | protected void installDefaults()(Code) | | |
uninstallDefaults | protected void uninstallDefaults()(Code) | | |
Methods inherited from javax.swing.plaf.basic.BasicMenuItemUI | protected MenuDragMouseListener createMenuDragMouseListener(JComponent c)(Code)(Java Doc) protected MenuKeyListener createMenuKeyListener(JComponent c)(Code)(Java Doc) protected MouseInputListener createMouseInputListener(JComponent c)(Code)(Java Doc) protected PropertyChangeListener createPropertyChangeListener(JComponent c)(Code)(Java Doc) public static ComponentUI createUI(JComponent c)(Code)(Java Doc) protected void doClick(MenuSelectionManager msm)(Code)(Java Doc) public Dimension getMaximumSize(JComponent c)(Code)(Java Doc) public Dimension getMinimumSize(JComponent c)(Code)(Java Doc) public MenuElement[] getPath()(Code)(Java Doc) protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap)(Code)(Java Doc) public Dimension getPreferredSize(JComponent c)(Code)(Java Doc) protected String getPropertyPrefix()(Code)(Java Doc) protected void installComponents(JMenuItem menuItem)(Code)(Java Doc) protected void installDefaults()(Code)(Java Doc) protected void installKeyboardActions()(Code)(Java Doc) protected void installListeners()(Code)(Java Doc) public void installUI(JComponent c)(Code)(Java Doc) public void paint(Graphics g, JComponent c)(Code)(Java Doc) protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor)(Code)(Java Doc) protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap)(Code)(Java Doc) protected void paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text)(Code)(Java Doc) protected void uninstallComponents(JMenuItem menuItem)(Code)(Java Doc) protected void uninstallDefaults()(Code)(Java Doc) protected void uninstallKeyboardActions()(Code)(Java Doc) protected void uninstallListeners()(Code)(Java Doc) public void uninstallUI(JComponent c)(Code)(Java Doc) public void update(Graphics g, JComponent c)(Code)(Java Doc)
|
|
|