Class RadianceSwitchUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- javax.swing.plaf.basic.BasicToggleButtonUI
-
- org.pushingpixels.radiance.component.internal.ui.common.BasicSwitchUI
-
- org.pushingpixels.radiance.component.internal.theming.common.ui.RadianceSwitchUI
-
- All Implemented Interfaces:
TransitionAwareUI
public class RadianceSwitchUI extends BasicSwitchUI
UI forJSwitch
components in Radiance look and feel.
-
-
Field Summary
Fields Modifier and Type Field Description private BladeColorScheme
mutableBorderColorScheme
private BladeColorScheme
mutableFillColorScheme
private BladeColorScheme
mutableMarkColorScheme
-
Fields inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicSwitchUI
stateTransitionTracker, switchComp
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RadianceSwitchUI(JSwitch switchComp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent comp)
protected java.lang.String
getPropertyPrefix()
void
paint(java.awt.Graphics g, javax.swing.JComponent c)
-
Methods inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicSwitchUI
createButtonListener, getPreferredSize, getTransitionTracker, installDefaults, installListeners, isInside, uninstallDefaults, uninstallListeners, uninstallUI, update
-
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
-
-
-
-
Field Detail
-
mutableFillColorScheme
private BladeColorScheme mutableFillColorScheme
-
mutableBorderColorScheme
private BladeColorScheme mutableBorderColorScheme
-
mutableMarkColorScheme
private BladeColorScheme mutableMarkColorScheme
-
-
Constructor Detail
-
RadianceSwitchUI
private RadianceSwitchUI(JSwitch switchComp)
-
-
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.BasicToggleButtonUI
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
paint
in classjavax.swing.plaf.basic.BasicToggleButtonUI
-
-