com.jgoodies.looks.common

Class ExtBasicMenuUI

public class ExtBasicMenuUI extends BasicMenuUI

An implementation of MenuUI used by the JGoodies Windows and Plastic looks. Unlike it's superclass, it aligns submenu items.

Version: $Revision: 1.8 $

Author: Karsten Lentzsch

Method Summary
static ComponentUIcreateUI(JComponent b)
protected DimensiongetPreferredMenuItemSize(JComponent c, Icon aCheckIcon, Icon anArrowIcon, int textIconGap)
protected StringgetPropertyPrefix()
protected voidinstallDefaults()
protected voidinstallListeners()
protected voidpaintMenuItem(Graphics g, JComponent c, Icon aCheckIcon, Icon anArrowIcon, Color background, Color foreground, int textIconGap)
protected voiduninstallDefaults()
protected voiduninstallListeners()

Method Detail

createUI

public static ComponentUI createUI(JComponent b)

getPreferredMenuItemSize

protected Dimension getPreferredMenuItemSize(JComponent c, Icon aCheckIcon, Icon anArrowIcon, int textIconGap)

getPropertyPrefix

protected String getPropertyPrefix()

installDefaults

protected void installDefaults()

installListeners

protected void installListeners()

paintMenuItem

protected void paintMenuItem(Graphics g, JComponent c, Icon aCheckIcon, Icon anArrowIcon, Color background, Color foreground, int textIconGap)

uninstallDefaults

protected void uninstallDefaults()

uninstallListeners

protected void uninstallListeners()
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.