Class ObservableCollections.ObservableListHelper<E>
- java.lang.Object
-
- org.jdesktop.observablecollections.ObservableCollections.ObservableListHelper<E>
-
- Enclosing class:
- ObservableCollections
public static final class ObservableCollections.ObservableListHelper<E> extends java.lang.Object
ObservableListHelper
is created byobservableListHelper
, and useful when changes to individual elements of the list can be tracked.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fireElementChanged(int index)
Sends notification that the element at the specified index has changed.ObservableList<E>
getObservableList()
Returns theObservableList
.
-
-
-
Method Detail
-
getObservableList
public ObservableList<E> getObservableList()
Returns theObservableList
.- Returns:
- the observable list
-
fireElementChanged
public void fireElementChanged(int index)
Sends notification that the element at the specified index has changed.- Parameters:
index
- the index of the element that has changed- Throws:
java.lang.ArrayIndexOutOfBoundsException
- if index is outside the range of theList
(< 0 || >= size
)
-
-