org.jdesktop.swingx.multislider
Class AbstractMultiThumbModel<E>
- java.lang.Object
-
- org.jdesktop.swingx.multislider.AbstractMultiThumbModel<E>
-
- All Implemented Interfaces:
- java.lang.Iterable<Thumb<E>>, MultiThumbModel<E>
- Direct Known Subclasses:
- DefaultMultiThumbModel
public abstract class AbstractMultiThumbModel<E> extends java.lang.Object implements MultiThumbModel<E>
-
-
Constructor Summary
Constructors Constructor and Description AbstractMultiThumbModel()Creates a new instance of AbstractMultiThumbModel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddThumbDataListener(ThumbDataListener listener)floatgetMaximumValue()floatgetMinimumValue()voidremoveThumbDataListener(ThumbDataListener listener)voidsetMaximumValue(float maximumValue)voidsetMinimumValue(float minimumValue)voidthumbPositionChanged(Thumb<E> thumb)voidthumbValueChanged(Thumb<E> thumb)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdesktop.swingx.multislider.MultiThumbModel
addThumb, getSortedThumbs, getThumbAt, getThumbCount, getThumbIndex, insertThumb, removeThumb
-
-
-
-
Constructor Detail
-
AbstractMultiThumbModel
public AbstractMultiThumbModel()
Creates a new instance of AbstractMultiThumbModel
-
-
Method Detail
-
getMaximumValue
public float getMaximumValue()
- Specified by:
getMaximumValuein interfaceMultiThumbModel<E>
-
getMinimumValue
public float getMinimumValue()
- Specified by:
getMinimumValuein interfaceMultiThumbModel<E>
-
setMaximumValue
public void setMaximumValue(float maximumValue)
- Specified by:
setMaximumValuein interfaceMultiThumbModel<E>
-
setMinimumValue
public void setMinimumValue(float minimumValue)
- Specified by:
setMinimumValuein interfaceMultiThumbModel<E>
-
addThumbDataListener
public void addThumbDataListener(ThumbDataListener listener)
- Specified by:
addThumbDataListenerin interfaceMultiThumbModel<E>
-
removeThumbDataListener
public void removeThumbDataListener(ThumbDataListener listener)
- Specified by:
removeThumbDataListenerin interfaceMultiThumbModel<E>
-
thumbPositionChanged
public void thumbPositionChanged(Thumb<E> thumb)
- Specified by:
thumbPositionChangedin interfaceMultiThumbModel<E>
-
thumbValueChanged
public void thumbValueChanged(Thumb<E> thumb)
- Specified by:
thumbValueChangedin interfaceMultiThumbModel<E>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG