Package org.jdesktop.swingx.multislider
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>
public class DefaultMultiThumbModel<E>
extends AbstractMultiThumbModel<E>
implements MultiThumbModel<E>
- Author:
- joshy
-
Field Summary
FieldsFields inherited from class org.jdesktop.swingx.multislider.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 org.jdesktop.swingx.multislider.AbstractMultiThumbModel
addThumbDataListener, fireThumbPositionChanged, fireThumbValueChanged, getMaximumValue, getMinimumValue, removeThumbDataListener, setMaximumValue, setMinimumValue, thumbPositionChanged, thumbValueChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.jdesktop.swingx.multislider.MultiThumbModel
addThumbDataListener, getMaximumValue, getMinimumValue, removeThumbDataListener, setMaximumValue, setMinimumValue, thumbPositionChanged, thumbValueChanged
-
Field Details
-
thumbs
-
-
Constructor Details
-
DefaultMultiThumbModel
public DefaultMultiThumbModel()Creates a new instance of DefaultMultiThumbModel
-
-
Method Details
-
addThumb
- Specified by:
addThumbin interfaceMultiThumbModel<E>
-
insertThumb
- Specified by:
insertThumbin interfaceMultiThumbModel<E>
-
removeThumb
public void removeThumb(int index) - Specified by:
removeThumbin interfaceMultiThumbModel<E>
-
getThumbCount
public int getThumbCount()- Specified by:
getThumbCountin interfaceMultiThumbModel<E>
-
getThumbAt
- Specified by:
getThumbAtin interfaceMultiThumbModel<E>
-
getSortedThumbs
- Specified by:
getSortedThumbsin interfaceMultiThumbModel<E>
-
iterator
-
getThumbIndex
- Specified by:
getThumbIndexin interfaceMultiThumbModel<E>
-