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
public class RadianceCheckBoxUI extends RadianceRadioButtonUI
UI for check boxes in Radiance look and feel.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringpropertyPrefixPrefix for the checkbox-related properties in theUIManager.-
Fields inherited from class org.pushingpixels.radiance.theming.internal.ui.RadianceRadioButtonUI
button, mutableContainerTokens, radianceIcon, stateTransitionTracker
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRadianceCheckBoxUI(javax.swing.JToggleButton button)Simple constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.plaf.basic.BasicButtonListenercreateButtonListener(javax.swing.AbstractButton b)static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent comp)java.awt.DimensiongetPreferredSize(javax.swing.JComponent c)protected java.lang.StringgetPropertyPrefix()protected voidinstallDefaults(javax.swing.AbstractButton b)voidupdate(java.awt.Graphics g, javax.swing.JComponent c)protected voidupdateIcon()-
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
-
-
-
-
Field Detail
-
propertyPrefix
private static final java.lang.String propertyPrefix
Prefix for the checkbox-related properties in theUIManager.- See Also:
- Constant Field Values
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
getPropertyPrefix
protected java.lang.String getPropertyPrefix()
- Overrides:
getPropertyPrefixin classjavax.swing.plaf.basic.BasicRadioButtonUI
-
installDefaults
protected void installDefaults(javax.swing.AbstractButton b)
- Overrides:
installDefaultsin classRadianceRadioButtonUI
-
updateIcon
protected void updateIcon()
- Overrides:
updateIconin classRadianceRadioButtonUI
-
createButtonListener
protected javax.swing.plaf.basic.BasicButtonListener createButtonListener(javax.swing.AbstractButton b)
- Overrides:
createButtonListenerin classRadianceRadioButtonUI
-
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSizein classRadianceRadioButtonUI
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
updatein classRadianceRadioButtonUI
-
-