swingx
Version 2005-08-19

org.jdesktop.swingx.multislider
Class AbstractMultiThumbModel<E>

java.lang.Object
  extended by org.jdesktop.swingx.multislider.AbstractMultiThumbModel<E>
All Implemented Interfaces:
Iterable<Thumb<E>>, MultiThumbModel<E>
Direct Known Subclasses:
DefaultMultiThumbModel

public abstract class AbstractMultiThumbModel<E>
extends Object
implements MultiThumbModel<E>


Field Summary
protected  float maximumValue
           
protected  float minimumValue
           
protected  List<ThumbDataListener> thumbDataListeners
           
 
Constructor Summary
AbstractMultiThumbModel()
          Creates a new instance of AbstractMultiThumbModel
 
Method Summary
 void addThumbDataListener(ThumbDataListener listener)
           
 float getMaximumValue()
           
 float getMinimumValue()
           
 void removeThumbDataListener(ThumbDataListener listener)
           
 void setMaximumValue(float maximumValue)
           
 void setMinimumValue(float minimumValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jdesktop.swingx.multislider.MultiThumbModel
addThumb, getSortedThumbs, getThumbAt, getThumbCount, insertThumb, removeThumb
 
Methods inherited from interface java.lang.Iterable
iterator
 

Field Detail

maximumValue

protected float maximumValue

minimumValue

protected float minimumValue

thumbDataListeners

protected List<ThumbDataListener> thumbDataListeners
Constructor Detail

AbstractMultiThumbModel

public AbstractMultiThumbModel()
Creates a new instance of AbstractMultiThumbModel

Method Detail

getMaximumValue

public float getMaximumValue()
Specified by:
getMaximumValue in interface MultiThumbModel<E>

getMinimumValue

public float getMinimumValue()
Specified by:
getMinimumValue in interface MultiThumbModel<E>

setMaximumValue

public void setMaximumValue(float maximumValue)
Specified by:
setMaximumValue in interface MultiThumbModel<E>

setMinimumValue

public void setMinimumValue(float minimumValue)
Specified by:
setMinimumValue in interface MultiThumbModel<E>

addThumbDataListener

public void addThumbDataListener(ThumbDataListener listener)
Specified by:
addThumbDataListener in interface MultiThumbModel<E>

removeThumbDataListener

public void removeThumbDataListener(ThumbDataListener listener)
Specified by:
removeThumbDataListener in interface MultiThumbModel<E>

swingx
Version 2005-08-19