org.jvnet.substance
Class SubstanceMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
javax.swing.plaf.basic.BasicMenuUI
org.jvnet.substance.SubstanceMenuUI
public class SubstanceMenuUI
- extends BasicMenuUI
UI for menus in Substance look and feel.
- Author:
- Kirill Grouchnikov
Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground |
Methods inherited from class javax.swing.plaf.basic.BasicMenuUI |
createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createMouseInputListener, createPropertyChangeListener, getMaximumSize, getPropertyPrefix, installDefaults, installKeyboardActions, installListeners, setupPostTimer, uninstallDefaults, uninstallKeyboardActions, uninstallListeners |
Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
doClick, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installUI, paint, paintMenuItem, paintText, uninstallComponents, uninstallUI, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstanceMenuUI
public SubstanceMenuUI()
createUI
public static ComponentUI createUI(JComponent c)
paintBackground
protected void paintBackground(Graphics g,
JMenuItem menuItem,
Color bgColor)
- Overrides:
paintBackground
in class BasicMenuItemUI