org.jvnet.substance
Class SubstanceCheckBoxMenuItemUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.MenuItemUI
              extended by javax.swing.plaf.basic.BasicMenuItemUI
                  extended by javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
                      extended by org.jvnet.substance.SubstanceCheckBoxMenuItemUI

public class SubstanceCheckBoxMenuItemUI
extends BasicCheckBoxMenuItemUI

UI for check box menu items in Substance look and feel.

Author:
Kirill Grouchnikov

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicMenuItemUI
BasicMenuItemUI.MouseInputHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground
 
Constructor Summary
SubstanceCheckBoxMenuItemUI()
           
 
Method Summary
static ComponentUI createUI(JComponent b)
           
protected  void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
getPropertyPrefix, processMouseEvent
 
Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceCheckBoxMenuItemUI

public SubstanceCheckBoxMenuItemUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent b)

paintBackground

protected void paintBackground(Graphics g,
                               JMenuItem menuItem,
                               Color bgColor)
Overrides:
paintBackground in class BasicMenuItemUI