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 StateTransitionTracker
Listener for transition animations.Fields inherited from class org.pushingpixels.radiance.component.internal.ui.common.popup.BasicColorSelectorComponentUI
buttonModel, colorSelectorComponent, rollover
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RadianceColorSelectorComponentUI
(JColorSelectorComponent colorSelectorComponent) -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI
(JComponent comp) Returns the model for tracking the transitions.protected void
Installs listeners on the associated color selector component.boolean
isInside
(MouseEvent me) Checks whether the mouse position of the specified event lies inside the area of the component designated for transition effects.protected void
protected void
protected void
protected void
Uninstalls listeners from the associated color selector component.Methods inherited from class org.pushingpixels.radiance.component.internal.ui.common.popup.BasicColorSelectorComponentUI
installComponents, installDefaults, installUI, setRollover, uninstallComponents, uninstallDefaults, uninstallUI, update
Methods inherited from class javax.swing.plaf.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:BasicColorSelectorComponentUI
Installs listeners on the associated color selector component.- Overrides:
installListeners
in classBasicColorSelectorComponentUI
-
uninstallListeners
protected void uninstallListeners()Description copied from class:BasicColorSelectorComponentUI
Uninstalls listeners from the associated color selector component.- Overrides:
uninstallListeners
in classBasicColorSelectorComponentUI
-
isInside
Description copied from interface:TransitionAwareUI
Checks whether the mouse position of the specified event lies inside the area of the component designated for transition effects.- Specified by:
isInside
in interfaceTransitionAwareUI
- Parameters:
me
- Mouse event.- Returns:
true
if the mouse position of the specified event lies inside the area of the component designated for transition effects,false
otherwise.
-
getTransitionTracker
Description copied from interface:TransitionAwareUI
Returns the model for tracking the transitions.- Specified by:
getTransitionTracker
in interfaceTransitionAwareUI
- Returns:
- Model for tracking the transitions.
-
paintBorder
- Specified by:
paintBorder
in classBasicColorSelectorComponentUI
-
paintRolloverIndication
- Specified by:
paintRolloverIndication
in classBasicColorSelectorComponentUI
-
paintFocus
- Specified by:
paintFocus
in classBasicColorSelectorComponentUI
-