org.jdesktop.observablecollections
Class ObservableCollections.ObservableListHelper<E>

java.lang.Object
  extended by org.jdesktop.observablecollections.ObservableCollections.ObservableListHelper<E>
Enclosing class:
ObservableCollections

public static final class ObservableCollections.ObservableListHelper<E>
extends java.lang.Object

ObservableListHelper is created by observableListHelper, and useful when changes to individual elements of the list can be tracked.

See Also:
ObservableCollections.observableListHelper(java.util.List)

Method Summary
 void fireElementChanged(int index)
          Sends notification that the element at the specified index has changed.
 ObservableList<E> getObservableList()
          Returns the ObservableList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getObservableList

public ObservableList<E> getObservableList()
Returns the ObservableList.

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 the List (< 0 || >= size)