public class DefaultMultiThumbModel<E> extends AbstractMultiThumbModel<E> implements MultiThumbModel<E>
| Modifier and Type | Field and Description |
|---|---|
protected List<Thumb<E>> |
thumbs |
maximumValue, minimumValue, thumbDataListeners| Constructor and Description |
|---|
DefaultMultiThumbModel()
Creates a new instance of DefaultMultiThumbModel
|
| Modifier and Type | Method and Description |
|---|---|
int |
addThumb(float value,
E obj) |
List<Thumb<E>> |
getSortedThumbs() |
Thumb<E> |
getThumbAt(int index) |
int |
getThumbCount() |
int |
getThumbIndex(Thumb<E> thumb) |
void |
insertThumb(float value,
E obj,
int index) |
Iterator<Thumb<E>> |
iterator() |
void |
removeThumb(int index) |
addThumbDataListener, fireThumbPositionChanged, fireThumbValueChanged, getMaximumValue, getMinimumValue, removeThumbDataListener, setMaximumValue, setMinimumValue, thumbPositionChanged, thumbValueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddThumbDataListener, getMaximumValue, getMinimumValue, removeThumbDataListener, setMaximumValue, setMinimumValue, thumbPositionChanged, thumbValueChangedpublic DefaultMultiThumbModel()
public int addThumb(float value,
E obj)
addThumb in interface MultiThumbModel<E>public void insertThumb(float value,
E obj,
int index)
insertThumb in interface MultiThumbModel<E>public void removeThumb(int index)
removeThumb in interface MultiThumbModel<E>public int getThumbCount()
getThumbCount in interface MultiThumbModel<E>public Thumb<E> getThumbAt(int index)
getThumbAt in interface MultiThumbModel<E>public List<Thumb<E>> getSortedThumbs()
getSortedThumbs in interface MultiThumbModel<E>public int getThumbIndex(Thumb<E> thumb)
getThumbIndex in interface MultiThumbModel<E>Copyright © 2014. All rights reserved.