public abstract class AbstractMultiThumbModel<E> extends Object implements MultiThumbModel<E>
Modifier and Type | Field and Description |
---|---|
protected float |
maximumValue |
protected float |
minimumValue |
protected List<ThumbDataListener> |
thumbDataListeners |
Constructor and Description |
---|
AbstractMultiThumbModel()
Creates a new instance of AbstractMultiThumbModel
|
Modifier and Type | Method and Description |
---|---|
void |
addThumbDataListener(ThumbDataListener listener) |
protected void |
fireThumbPositionChanged(Thumb<E> thumb) |
protected void |
fireThumbValueChanged(Thumb<E> thumb) |
float |
getMaximumValue() |
float |
getMinimumValue() |
void |
removeThumbDataListener(ThumbDataListener listener) |
void |
setMaximumValue(float maximumValue) |
void |
setMinimumValue(float minimumValue) |
void |
thumbPositionChanged(Thumb<E> thumb) |
void |
thumbValueChanged(Thumb<E> thumb) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addThumb, getSortedThumbs, getThumbAt, getThumbCount, getThumbIndex, insertThumb, removeThumb
forEach, iterator, spliterator
protected float maximumValue
protected float minimumValue
protected List<ThumbDataListener> thumbDataListeners
public AbstractMultiThumbModel()
public float getMaximumValue()
getMaximumValue
in interface MultiThumbModel<E>
public float getMinimumValue()
getMinimumValue
in interface MultiThumbModel<E>
public void setMaximumValue(float maximumValue)
setMaximumValue
in interface MultiThumbModel<E>
public void setMinimumValue(float minimumValue)
setMinimumValue
in interface MultiThumbModel<E>
public void addThumbDataListener(ThumbDataListener listener)
addThumbDataListener
in interface MultiThumbModel<E>
public void removeThumbDataListener(ThumbDataListener listener)
removeThumbDataListener
in interface MultiThumbModel<E>
public void thumbPositionChanged(Thumb<E> thumb)
thumbPositionChanged
in interface MultiThumbModel<E>
protected void fireThumbPositionChanged(Thumb<E> thumb)
public void thumbValueChanged(Thumb<E> thumb)
thumbValueChanged
in interface MultiThumbModel<E>
protected void fireThumbValueChanged(Thumb<E> thumb)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses