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:
java.lang.Iterable<Thumb<E>>
,MultiThumbModel<E>
public class DefaultMultiThumbModel<E> extends AbstractMultiThumbModel<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Thumb<E>>
thumbs
-
Fields inherited from class org.jdesktop.swingx.multislider.AbstractMultiThumbModel
maximumValue, minimumValue, thumbDataListeners
-
-
Constructor Summary
Constructors Constructor Description DefaultMultiThumbModel()
Creates a new instance of DefaultMultiThumbModel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addThumb(float value, E obj)
java.util.List<Thumb<E>>
getSortedThumbs()
Thumb<E>
getThumbAt(int index)
int
getThumbCount()
int
getThumbIndex(Thumb<E> thumb)
void
insertThumb(float value, E obj, int index)
java.util.Iterator<Thumb<E>>
iterator()
void
removeThumb(int index)
-
Methods inherited from class org.jdesktop.swingx.multislider.AbstractMultiThumbModel
addThumbDataListener, fireThumbPositionChanged, fireThumbValueChanged, getMaximumValue, getMinimumValue, removeThumbDataListener, setMaximumValue, setMinimumValue, thumbPositionChanged, thumbValueChanged
-
-