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.String
propertyPrefix
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RadianceCheckBoxUI(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.BasicButtonListener
createButtonListener(javax.swing.AbstractButton b)
static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent comp)
java.awt.Dimension
getPreferredSize(javax.swing.JComponent c)
protected java.lang.String
getPropertyPrefix()
protected void
installDefaults(javax.swing.AbstractButton b)
void
update(java.awt.Graphics g, javax.swing.JComponent c)
protected void
updateIcon()
-
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:
getPropertyPrefix
in classjavax.swing.plaf.basic.BasicRadioButtonUI
-
installDefaults
protected void installDefaults(javax.swing.AbstractButton b)
- Overrides:
installDefaults
in classRadianceRadioButtonUI
-
updateIcon
protected void updateIcon()
- Overrides:
updateIcon
in classRadianceRadioButtonUI
-
createButtonListener
protected javax.swing.plaf.basic.BasicButtonListener createButtonListener(javax.swing.AbstractButton b)
- Overrides:
createButtonListener
in classRadianceRadioButtonUI
-
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in classRadianceRadioButtonUI
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
update
in classRadianceRadioButtonUI
-
-