public class MetalCheckBoxUI extends MetalRadioButtonUI
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans
package.
Please see XMLEncoder
.
disabledTextColor, focusColor, selectColor
icon
defaultTextIconGap, defaultTextShiftOffset
Constructor and Description |
---|
MetalCheckBoxUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent b)
Returns an instance of
MetalCheckBoxUI . |
String |
getPropertyPrefix()
Returns the property prefix.
|
void |
installDefaults(AbstractButton b)
Installs default properties.
|
protected void |
uninstallDefaults(AbstractButton b)
Uninstalls default properties.
|
getDisabledTextColor, getFocusColor, getSelectColor, paint, paintFocus
getDefaultIcon, getPreferredSize, installListeners, uninstallListeners
getTextShiftOffset, paintIcon
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
public static ComponentUI createUI(JComponent b)
MetalCheckBoxUI
.b
- a componentMetalCheckBoxUI
public String getPropertyPrefix()
BasicButtonUI
getPropertyPrefix
in class BasicRadioButtonUI
public void installDefaults(AbstractButton b)
BasicButtonUI
installDefaults
in class MetalRadioButtonUI
b
- an abstract buttonprotected void uninstallDefaults(AbstractButton b)
BasicButtonUI
uninstallDefaults
in class MetalRadioButtonUI
b
- an abstract button Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait