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.- Author:
- Kirill Grouchnikov
-
Field Summary
Fields inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicSwitchUI
stateTransitionTracker, switchCompFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent comp) protected Stringvoidpaint(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, updateMethods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIconMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActionsMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Method Details
-
createUI
-
getPropertyPrefix
- Overrides:
getPropertyPrefixin classBasicToggleButtonUI
-
paint
- Overrides:
paintin classBasicToggleButtonUI
-