javax.swing.plaf.basic
Class BasicCheckBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
javax.swing.plaf.basic.BasicRadioButtonUI
javax.swing.plaf.basic.BasicCheckBoxUI
public class BasicCheckBoxUI
- extends BasicRadioButtonUI
A UI delegate for the JCheckBox
component.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicCheckBoxUI
public BasicCheckBoxUI()
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."