Class DefaultMultiThumbModel<E>
java.lang.Object
org.jdesktop.swingx.multislider.AbstractMultiThumbModel<E>
org.jdesktop.swingx.multislider.DefaultMultiThumbModel<E>
- All Implemented Interfaces:
Iterable<Thumb<E>>, MultiThumbModel<E>
-
Field Summary
FieldsFields inherited from class AbstractMultiThumbModel
maximumValue, minimumValue, thumbDataListeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetThumbAt(int index) intintgetThumbIndex(Thumb<E> thumb) voidinsertThumb(float value, E obj, int index) iterator()voidremoveThumb(int index) Methods inherited from class AbstractMultiThumbModel
addThumbDataListener, fireThumbPositionChanged, fireThumbValueChanged, getMaximumValue, getMinimumValue, removeThumbDataListener, setMaximumValue, setMinimumValue, thumbPositionChanged, thumbValueChangedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
thumbs
-
-
Constructor Details
-
DefaultMultiThumbModel
public DefaultMultiThumbModel()Creates a new instance of DefaultMultiThumbModel
-
-
Method Details
-
addThumb
-
insertThumb
-
removeThumb
public void removeThumb(int index) -
getThumbCount
public int getThumbCount() -
getThumbAt
-
getSortedThumbs
-
iterator
-
getThumbIndex
-