Class SimpleListUpdateChange<E>

  • Type Parameters:
    E - the type of the changed object.

    public class SimpleListUpdateChange<E>
    extends ListNonIterableChange<E>
    Simple event for JavaFX changes.
    Since:
    17.0
    Version:
    17.0 2020-01-04 14:41:49
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.advanced
    Maven Artifact Id:
    javafx
    • Constructor Detail

      • SimpleListUpdateChange

        public SimpleListUpdateChange​(int position,
                                      javafx.collections.ObservableList<E> list)
        Constructor.
        Parameters:
        position - the index of change.
        list - the changed list.
      • SimpleListUpdateChange

        public SimpleListUpdateChange​(int from,
                                      int to,
                                      javafx.collections.ObservableList<E> list)
        Constructor.
        Parameters:
        from - the index of the first change.
        to - the index + 1 of the last change.
        list - the changed list.
    • Method Detail

      • getRemoved

        public List<E> getRemoved()
        Specified by:
        getRemoved in class javafx.collections.ListChangeListener.Change<E>
      • wasUpdated

        public boolean wasUpdated()
        Overrides:
        wasUpdated in class javafx.collections.ListChangeListener.Change<E>