Class BasicColorSelectorComponentUI
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
- Direct Known Subclasses:
RadianceColorSelectorComponentUI
Basic UI for color selector component
JColorSelectorComponent.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate classprivate classprivate classprivate static classprivate classprivate static classprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ActionListenerprotected ButtonModelprotected JColorSelectorComponentprivate FocusListenerprivate ChangeListenerprivate MouseListenerprotected floatprivate Timeline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidInstalls subcomponents on the associated color selector component.protected voidInstalls defaults on the associated color selector component.private voidprotected voidInstalls listeners on the associated color selector component.voidprotected abstract voidprotected abstract voidprotected abstract voidvoidsetRollover(float rollover) protected voidUninstalls subcomponents from the associated color selector component.protected voidUninstalls defaults from the associated color selector component.private voidprotected voidUninstalls listeners from the associated color selector component.voidvoidupdate(Graphics g, JComponent c) Methods inherited from class ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
Field Details
-
colorSelectorComponent
-
buttonModel
-
mouseListener
-
modelChangeListener
-
actionListener
-
rolloverTimeline
-
rollover
protected float rollover -
focusListener
-
-
Constructor Details
-
BasicColorSelectorComponentUI
protected BasicColorSelectorComponentUI()
-
-
Method Details
-
installUI
- Overrides:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
installListeners
protected void installListeners()Installs listeners on the associated color selector component. -
uninstallListeners
protected void uninstallListeners()Uninstalls listeners from the associated color selector component. -
installDefaults
protected void installDefaults()Installs defaults on the associated color selector component. -
uninstallDefaults
protected void uninstallDefaults()Uninstalls defaults from the associated color selector component. -
installComponents
protected void installComponents()Installs subcomponents on the associated color selector component. -
uninstallComponents
protected void uninstallComponents()Uninstalls subcomponents from the associated color selector component. -
installKeyboardActions
private void installKeyboardActions() -
uninstallKeyboardActions
private void uninstallKeyboardActions() -
setRollover
public void setRollover(float rollover) -
update
- Overrides:
updatein classComponentUI
-
paintBorder
-
paintRolloverIndication
-
paintFocus
-