Package com.sun.javafx.collections
Class NonIterableChange.SimpleUpdateChange<E>
java.lang.Object
javafx.collections.ListChangeListener.Change<E>
com.sun.javafx.collections.NonIterableChange<E>
com.sun.javafx.collections.NonIterableChange.SimpleUpdateChange<E>
- Enclosing class:
NonIterableChange<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.javafx.collections.NonIterableChange
NonIterableChange.GenericAddRemoveChange<E>, NonIterableChange.SimpleAddChange<E>, NonIterableChange.SimplePermutationChange<E>, NonIterableChange.SimpleRemovedChange<E>, NonIterableChange.SimpleUpdateChange<E>
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleUpdateChange
(int from, int to, ObservableList<E> list) SimpleUpdateChange
(int position, ObservableList<E> list) -
Method Summary
Modifier and TypeMethodDescriptionAn immutable list of removed/replaced elements.boolean
Indicates that the elements between getFrom() (inclusive) to getTo() exclusive has changed.Methods inherited from class com.sun.javafx.collections.NonIterableChange
checkState, getFrom, getPermutation, getTo, next, reset, toString
Methods inherited from class javafx.collections.ListChangeListener.Change
getAddedSize, getAddedSubList, getList, getPermutation, getRemovedSize, wasAdded, wasPermutated, wasRemoved, wasReplaced
-
Constructor Details
-
SimpleUpdateChange
-
SimpleUpdateChange
-
-
Method Details
-
getRemoved
Description copied from class:ListChangeListener.Change
An immutable list of removed/replaced elements. If no elements were removed from the list, an empty list is returned.- Specified by:
getRemoved
in classListChangeListener.Change<E>
- Returns:
- a list with all the removed elements
-
wasUpdated
public boolean wasUpdated()Description copied from class:ListChangeListener.Change
Indicates that the elements between getFrom() (inclusive) to getTo() exclusive has changed. This is the only optional event type and may not be fired by all ObservableLists.- Overrides:
wasUpdated
in classListChangeListener.Change<E>
- Returns:
- true if the current change is an update change.
-