Class BasicColorSelectorComponentUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- org.pushingpixels.flamingo.internal.ui.common.popup.ColorSelectorComponentUI
-
- org.pushingpixels.flamingo.internal.ui.common.popup.BasicColorSelectorComponentUI
-
public class BasicColorSelectorComponentUI extends ColorSelectorComponentUI
Basic UI for color selector componentJColorSelectorComponent.
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionListeneractionListenerprotected ButtonModelbuttonModelprotected JColorSelectorComponentcolorSelectorComponentprotected ChangeListenermodelChangeListenerprotected MouseListenermouseListenerprotected floatrolloverprotected org.pushingpixels.trident.TimelinerolloverTimeline
-
Constructor Summary
Constructors Constructor Description BasicColorSelectorComponentUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUIcreateUI(JComponent c)protected voidinstallComponents()Installs subcomponents on the associated color selector component.protected voidinstallDefaults()Installs defaults on the associated color selector component.protected voidinstallListeners()Installs listeners on the associated color selector component.voidinstallUI(JComponent c)voidsetRollover(float rollover)protected voiduninstallComponents()Uninstalls subcomponents from the associated color selector component.protected voiduninstallDefaults()Uninstalls defaults from the associated color selector component.protected voiduninstallListeners()Uninstalls listeners from the associated color selector component.voiduninstallUI(JComponent c)voidupdate(Graphics g, JComponent c)-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
-
-
-
Field Detail
-
colorSelectorComponent
protected JColorSelectorComponent colorSelectorComponent
-
buttonModel
protected ButtonModel buttonModel
-
mouseListener
protected MouseListener mouseListener
-
modelChangeListener
protected ChangeListener modelChangeListener
-
actionListener
protected ActionListener actionListener
-
rolloverTimeline
protected org.pushingpixels.trident.Timeline rolloverTimeline
-
rollover
protected float rollover
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUIin classComponentUI
-
uninstallUI
public void uninstallUI(JComponent c)
- 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
public void update(Graphics g, JComponent c)
- Overrides:
updatein classComponentUI
-
-