JHotDraw 7.4.1

org.jhotdraw.color
Class AbstractColorSlidersModel

java.lang.Object
  extended by org.jhotdraw.beans.AbstractBean
      extended by org.jhotdraw.color.AbstractColorSlidersModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ColorSliderModel
Direct Known Subclasses:
DefaultColorSliderModel

public abstract class AbstractColorSlidersModel
extends AbstractBean
implements ColorSliderModel

AbstractColorSlidersModel.

Author:
Werner Randelshofer  @version $Id: AbstractColorSlidersModel.java 527 2009-06-07 14:28:19Z rawcoder $
See Also:
Serialized Form

Field Summary
protected  java.util.LinkedList<javax.swing.event.ChangeListener> listeners
          ChangeListener's listening to changes in this AbstractColorSystem.
 
Fields inherited from class org.jhotdraw.beans.AbstractBean
propertySupport
 
Constructor Summary
AbstractColorSlidersModel()
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener l)
           
 void fireStateChanged()
           
 void removeChangeListener(javax.swing.event.ChangeListener l)
           
 
Methods inherited from class org.jhotdraw.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.color.ColorSliderModel
configureSlider, getBoundedRangeModel, getColor, getColorSystem, getComponentCount, getComponentValue, getCompositeColor, getInterpolatedRGB, setColor, setColorSystem, setComponentValue, setCompositeColor, unconfigureSlider
 

Field Detail

listeners

protected java.util.LinkedList<javax.swing.event.ChangeListener> listeners
ChangeListener's listening to changes in this AbstractColorSystem.

Constructor Detail

AbstractColorSlidersModel

public AbstractColorSlidersModel()
Method Detail

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener l)
Specified by:
addChangeListener in interface ColorSliderModel

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener l)
Specified by:
removeChangeListener in interface ColorSliderModel

fireStateChanged

public void fireStateChanged()

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.