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.- Author:
- Kirill Grouchnikov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ButtonModelprotected JColorSelectorComponentprotected float -
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.protected 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.protected 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
-
rollover
protected float rollover
-
-
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. -
setRollover
public void setRollover(float rollover) -
update
- Overrides:
updatein classComponentUI
-
paintBorder
-
paintRolloverIndication
-
paintFocus
-