javax.swing.plaf.basic
Class BasicCheckBoxMenuItemUI

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

public class BasicCheckBoxMenuItemUI
extends BasicMenuItemUI

DOCUMENT ME!


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
BasicCheckBoxMenuItemUI()
          Creates a new BasicCheckBoxMenuItemUI object.
 
Method Summary
static ComponentUI createUI(JComponent c)
          Factory method to create a BasicCheckBoxMenuItemUI for the given JComponent, which should be a JCheckBoxMenuItem
protected  String getPropertyPrefix()
          Returns the prefix for entries in the UIDefaults table.
 void processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
          DOCUMENT ME!
 
Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintBackground, 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

BasicCheckBoxMenuItemUI

public BasicCheckBoxMenuItemUI()
Creates a new BasicCheckBoxMenuItemUI object.

Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Factory method to create a BasicCheckBoxMenuItemUI for the given JComponent, which should be a JCheckBoxMenuItem

Parameters:
c - The JComponent a UI is being created for.
Returns:
A BasicCheckBoxMenuItemUI for the JComponent.

getPropertyPrefix

protected String getPropertyPrefix()
Returns the prefix for entries in the UIDefaults table.

Overrides:
getPropertyPrefix in class BasicMenuItemUI
Returns:
"CheckBoxMenuItem"

processMouseEvent

public void processMouseEvent(JMenuItem item,
                              MouseEvent e,
                              MenuElement[] path,
                              MenuSelectionManager manager)
DOCUMENT ME!

Parameters:
item - DOCUMENT ME!
e - DOCUMENT ME!
path - DOCUMENT ME!
manager - DOCUMENT ME!