E
- the type of the list elementspublic interface ObservableList2<E> extends ObservableList<E>
ObservableList
interface. The ObservableList implementations that ship with the
JGoodies Common, ArrayListModel
and LinkedListModel
,
implement ObservableList2.Modifier and Type | Method and Description |
---|---|
void |
fireContentsChanged(int index)
Notifies all registered
ListDataListeners that the element
at the specified index has changed. |
void |
fireContentsChanged(int index0,
int index1)
Notifies all registered
ListDataListeners that the element
at the specified index has changed. |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
addListDataListener, getElementAt, getSize, removeListDataListener
void fireContentsChanged(int index)
ListDataListeners
that the element
at the specified index has changed. Useful if there's a content change
without any structural change.This method must be called after the element of the list changes.
index
- the index of the element that has changedEventListenerList
void fireContentsChanged(int index0, int index1)
ListDataListeners
that the element
at the specified index has changed. Useful if there's a content change
without any structural change.This method must be called after one or more elements of the list change. The changed elements are specified by the closed interval index0, index1 -- the end points are included. Note that index0 need not be less than or equal to index1.
index0
- one end of the new intervalindex1
- the other end of the new intervalEventListenerList
Copyright © 2014 JGoodies Software GmbH. All rights reserved.