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 javax.swing.plaf.metal.MetalRadioButtonUI
disabledTextColor, focusColor, selectColorFields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
iconFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIReturns an instance ofMetalCheckBoxUI.Returns the property prefix.voidInstalls default properties.protected voidUninstalls default properties.Methods inherited from class javax.swing.plaf.metal.MetalRadioButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, paint, paintFocusMethods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSizeMethods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIconMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.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:BasicButtonUIReturns the property prefix.- Overrides:
getPropertyPrefixin classBasicRadioButtonUI- Returns:
- the property prefix
-
installDefaults
Description copied from class:BasicButtonUIInstalls default properties.- Overrides:
installDefaultsin classMetalRadioButtonUI- Parameters:
b- an abstract button
-
uninstallDefaults
Description copied from class:BasicButtonUIUninstalls default properties.- Overrides:
uninstallDefaultsin classMetalRadioButtonUI- Parameters:
b- an abstract button
-