Class ProvisionalList<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
javafx.collections.ObservableListBase<T>
javafx.collections.ModifiableObservableListBase<T>
All Implemented Interfaces:
PermutableObservableList<T>, Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>, javafx.beans.Observable, javafx.collections.ObservableList<T>

public class ProvisionalList<T> extends ObservableArrayList<T>
  • Property Details

  • Constructor Details

    • ProvisionalList

      public ProvisionalList(javafx.collections.ObservableList<T> pSourceList)
    • ProvisionalList

      public ProvisionalList(javafx.collections.ObservableList<T> pSourceList, javafx.util.Callback<T,List<Object>> pExtractor, Supplier<T> pItemFactory)
      Parameters:
      pExtractor - The extractor should always return the same number of observables in the same order for all items. Otherwise, the copy operation will not work properly.
  • Method Details

    • dirtyProperty

      public javafx.beans.property.ReadOnlyBooleanProperty dirtyProperty()
      Returns:
      the dirty property
      See Also:
    • isDirty

      public boolean isDirty()
      True if pending updates exist.
    • connectedProperty

      public javafx.beans.property.ReadOnlyBooleanProperty connectedProperty()
      Returns:
      the connected property
      See Also:
    • isConnected

      public boolean isConnected()
      Gets the value of the connected property.
      Property description:
      Returns:
      the value of the connected property
      See Also:
    • connect

      public void connect()
    • disconnect

      public void disconnect()
    • revert

      public void revert()
      Revert the changes made to the provisional list.
    • commit

      public void commit()
      Apply the changes made to the provisional list to the source list.