javax.swing.plaf.basic
Class BasicCheckBoxUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.basic.BasicToggleButtonUI
                  extended by javax.swing.plaf.basic.BasicRadioButtonUI
                      extended by javax.swing.plaf.basic.BasicCheckBoxUI

public class BasicCheckBoxUI
extends BasicRadioButtonUI

A UI delegate for the JCheckBox component.


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
BasicCheckBoxUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
          Returns a UI delegate (that is, an instance of this class) for the specified component.
 String getPropertyPrefix()
          Returns the prefix for entries in the UIManager defaults table ("CheckBox."
 
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, installDefaults, paint, paintFocus
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicCheckBoxUI

public BasicCheckBoxUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Returns a UI delegate (that is, an instance of this class) for the specified component.

Parameters:
c - the component (this should be a JCheckBox).
Returns:
A new instance of BasicCheckBoxUI.

getPropertyPrefix

public String getPropertyPrefix()
Returns the prefix for entries in the UIManager defaults table ("CheckBox." in this case).

Overrides:
getPropertyPrefix in class BasicRadioButtonUI
Returns:
"CheckBox."