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>

public static class NonIterableChange.SimpleUpdateChange<E> extends NonIterableChange<E>
  • Constructor Details

    • SimpleUpdateChange

      public SimpleUpdateChange(int position, ObservableList<E> list)
    • SimpleUpdateChange

      public SimpleUpdateChange(int from, int to, ObservableList<E> list)
  • Method Details

    • getRemoved

      public List<E> 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 class ListChangeListener.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 class ListChangeListener.Change<E>
      Returns:
      true if the current change is an update change.