Class RadianceCheckBoxUI
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
org.pushingpixels.radiance.theming.internal.ui.RadianceRadioButtonUI
org.pushingpixels.radiance.theming.internal.ui.RadianceCheckBoxUI
- All Implemented Interfaces:
TransitionAwareUI
UI for check boxes in Radiance look and feel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
Prefix for the checkbox-related properties in theUIManager
.Fields inherited from class org.pushingpixels.radiance.theming.internal.ui.RadianceRadioButtonUI
button, mutableBorderColorScheme, mutableFillColorScheme, mutableMarkColorScheme, radianceIcon, stateTransitionTracker
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RadianceCheckBoxUI
(JToggleButton button) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicButtonListener
static ComponentUI
createUI
(JComponent comp) protected String
protected void
void
update
(Graphics g, JComponent c) protected void
Methods inherited from class org.pushingpixels.radiance.theming.internal.ui.RadianceRadioButtonUI
getDefaultIcon, getTransitionTracker, installListeners, isInside, paint, uninstallListeners
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
paintFocus, uninstallDefaults
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Field Details
-
propertyPrefix
Prefix for the checkbox-related properties in theUIManager
.- See Also:
-
-
Constructor Details
-
RadianceCheckBoxUI
Simple constructor.- Parameters:
button
- The associated button.
-
-
Method Details
-
createUI
-
getPropertyPrefix
- Overrides:
getPropertyPrefix
in classBasicRadioButtonUI
-
installDefaults
- Overrides:
installDefaults
in classRadianceRadioButtonUI
-
updateIcon
protected void updateIcon()- Overrides:
updateIcon
in classRadianceRadioButtonUI
-
createButtonListener
- Overrides:
createButtonListener
in classRadianceRadioButtonUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classRadianceRadioButtonUI
-
update
- Overrides:
update
in classRadianceRadioButtonUI
-