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
UI for
JSwitch
components in Radiance look and feel.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BladeColorScheme
private BladeColorScheme
private BladeColorScheme
Fields inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicSwitchUI
stateTransitionTracker, switchComp
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI
(JComponent comp) protected String
void
paint
(Graphics g, 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
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Field Details
-
mutableFillColorScheme
-
mutableBorderColorScheme
-
mutableMarkColorScheme
-
-
Constructor Details
-
RadianceSwitchUI
-
-
Method Details
-
createUI
-
getPropertyPrefix
- Overrides:
getPropertyPrefix
in classBasicToggleButtonUI
-
paint
- Overrides:
paint
in classBasicToggleButtonUI
-