org.pushingpixels.flamingo.internal.ui.common.popup
Class BasicColorSelectorComponentUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.pushingpixels.flamingo.internal.ui.common.popup.ColorSelectorComponentUI
          extended by org.pushingpixels.flamingo.internal.ui.common.popup.BasicColorSelectorComponentUI

public class BasicColorSelectorComponentUI
extends ColorSelectorComponentUI

Basic UI for color selector component JColorSelectorComponent.


Field Summary
protected  java.awt.event.ActionListener actionListener
           
protected  javax.swing.ButtonModel buttonModel
           
protected  JColorSelectorComponent colorSelectorComponent
           
protected  javax.swing.event.ChangeListener modelChangeListener
           
protected  java.awt.event.MouseListener mouseListener
           
protected  float rollover
           
protected  org.pushingpixels.trident.Timeline rolloverTimeline
           
 
Constructor Summary
BasicColorSelectorComponentUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
protected  void installComponents()
          Installs subcomponents on the associated color selector component.
protected  void installDefaults()
          Installs defaults on the associated color selector component.
protected  void installListeners()
          Installs listeners on the associated color selector component.
 void installUI(javax.swing.JComponent c)
           
 void setRollover(float rollover)
           
protected  void uninstallComponents()
          Uninstalls subcomponents from the associated color selector component.
protected  void uninstallDefaults()
          Uninstalls defaults from the associated color selector component.
protected  void uninstallListeners()
          Uninstalls listeners from the associated color selector component.
 void uninstallUI(javax.swing.JComponent c)
           
 void update(java.awt.Graphics g, javax.swing.JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colorSelectorComponent

protected JColorSelectorComponent colorSelectorComponent

buttonModel

protected javax.swing.ButtonModel buttonModel

mouseListener

protected java.awt.event.MouseListener mouseListener

modelChangeListener

protected javax.swing.event.ChangeListener modelChangeListener

actionListener

protected java.awt.event.ActionListener actionListener

rolloverTimeline

protected org.pushingpixels.trident.Timeline rolloverTimeline

rollover

protected float rollover
Constructor Detail

BasicColorSelectorComponentUI

public BasicColorSelectorComponentUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

installUI

public void installUI(javax.swing.JComponent c)
Overrides:
installUI in class javax.swing.plaf.ComponentUI

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI

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(java.awt.Graphics g,
                   javax.swing.JComponent c)
Overrides:
update in class javax.swing.plaf.ComponentUI