Class RadianceColorSelectorComponentUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.common.popup.ColorSelectorComponentUI
org.pushingpixels.radiance.component.internal.ui.common.popup.BasicColorSelectorComponentUI
org.pushingpixels.radiance.component.internal.theming.common.ui.RadianceColorSelectorComponentUI
- All Implemented Interfaces:
TransitionAwareUI
public class RadianceColorSelectorComponentUI
extends BasicColorSelectorComponentUI
implements TransitionAwareUI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StateTransitionTrackerListener for transition animations.Fields inherited from class BasicColorSelectorComponentUI
buttonModel, colorSelectorComponent, rollover -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRadianceColorSelectorComponentUI(JColorSelectorComponent colorSelectorComponent) -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent comp) Returns the model for tracking the transitions.protected voidInstalls listeners on the associated color selector component.booleanisInside(MouseEvent me) Checks whether the mouse position of the specified event lies inside the area of the component designated for transition effects.protected voidprotected voidprotected voidprotected voidUninstalls listeners from the associated color selector component.Methods inherited from class BasicColorSelectorComponentUI
installComponents, installDefaults, installUI, setRollover, uninstallComponents, uninstallDefaults, uninstallUI, updateMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
Field Details
-
stateTransitionTracker
Listener for transition animations.
-
-
Constructor Details
-
RadianceColorSelectorComponentUI
-
-
Method Details
-
createUI
-
installListeners
protected void installListeners()Description copied from class:BasicColorSelectorComponentUIInstalls listeners on the associated color selector component.- Overrides:
installListenersin classBasicColorSelectorComponentUI
-
uninstallListeners
protected void uninstallListeners()Description copied from class:BasicColorSelectorComponentUIUninstalls listeners from the associated color selector component.- Overrides:
uninstallListenersin classBasicColorSelectorComponentUI
-
isInside
Description copied from interface:TransitionAwareUIChecks whether the mouse position of the specified event lies inside the area of the component designated for transition effects.- Specified by:
isInsidein interfaceTransitionAwareUI- Parameters:
me- Mouse event.- Returns:
trueif the mouse position of the specified event lies inside the area of the component designated for transition effects,falseotherwise.
-
getTransitionTracker
Description copied from interface:TransitionAwareUIReturns the model for tracking the transitions.- Specified by:
getTransitionTrackerin interfaceTransitionAwareUI- Returns:
- Model for tracking the transitions.
-
paintBorder
- Specified by:
paintBorderin classBasicColorSelectorComponentUI
-
paintRolloverIndication
- Specified by:
paintRolloverIndicationin classBasicColorSelectorComponentUI
-
paintFocus
- Specified by:
paintFocusin classBasicColorSelectorComponentUI
-