Class MetalCheckBoxUI
CheckboxUI implementation for MetalCheckboxUI
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
.
-
Field Summary
Fields inherited from class MetalRadioButtonUI
disabledTextColor, focusColor, selectColor
Fields inherited from class BasicRadioButtonUI
icon
Fields inherited from class BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
Returns an instance ofMetalCheckBoxUI
.Returns the property prefix.void
Installs default properties.protected void
Uninstalls default properties.Methods inherited from class MetalRadioButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, paint, paintFocus
Methods inherited from class BasicRadioButtonUI
getDefaultIcon, getPreferredSize
Methods inherited from class BasicToggleButtonUI
getTextShiftOffset, paintIcon
Methods inherited from class BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
MetalCheckBoxUI
public MetalCheckBoxUI()Constructs aMetalCheckBoxUI
.
-
-
Method Details
-
createUI
Returns an instance ofMetalCheckBoxUI
.- Parameters:
b
- a component- Returns:
- a new instance of
MetalCheckBoxUI
-
getPropertyPrefix
Description copied from class:BasicButtonUI
Returns the property prefix.- Overrides:
getPropertyPrefix
in classBasicRadioButtonUI
- Returns:
- the property prefix
-
installDefaults
Description copied from class:BasicButtonUI
Installs default properties.- Overrides:
installDefaults
in classMetalRadioButtonUI
- Parameters:
b
- an abstract button
-
uninstallDefaults
Description copied from class:BasicButtonUI
Uninstalls default properties.- Overrides:
uninstallDefaults
in classMetalRadioButtonUI
- Parameters:
b
- an abstract button
-