Class DirtyListProperty<E extends org.nield.dirtyfx.tracking.DirtyProperty>

java.lang.Object
javafx.beans.binding.ListExpression<E>
javafx.beans.property.ReadOnlyListProperty<E>
javafx.beans.property.ListProperty<E>
cz.masci.springfx.mvci.model.dirty.DirtyListProperty<E>
Type Parameters:
E - the type of elements in the list
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, javafx.beans.Observable, javafx.beans.property.Property<javafx.collections.ObservableList<E>>, javafx.beans.property.ReadOnlyProperty<javafx.collections.ObservableList<E>>, javafx.beans.value.ObservableListValue<E>, javafx.beans.value.ObservableObjectValue<javafx.collections.ObservableList<E>>, javafx.beans.value.ObservableValue<javafx.collections.ObservableList<E>>, javafx.beans.value.WritableListValue<E>, javafx.beans.value.WritableObjectValue<javafx.collections.ObservableList<E>>, javafx.beans.value.WritableValue<javafx.collections.ObservableList<E>>, javafx.collections.ObservableList<E>, org.nield.dirtyfx.tracking.DirtyProperty

public class DirtyListProperty<E extends org.nield.dirtyfx.tracking.DirtyProperty> extends javafx.beans.property.ListProperty<E> implements org.nield.dirtyfx.tracking.DirtyProperty
Represents a list property that tracks its dirty state and the dirty state of its elements.
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ReadOnlyBooleanProperty
     
    javafx.beans.property.ReadOnlyIntegerProperty
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addListener(javafx.beans.InvalidationListener listener)
     
    void
    addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
     
    void
    addListener(javafx.collections.ListChangeListener<? super E> listener)
     
    void
    bind(javafx.beans.value.ObservableValue<? extends javafx.collections.ObservableList<E>> observable)
     
    javafx.beans.property.ReadOnlyBooleanProperty
     
    javafx.collections.ObservableList<E>
    get()
     
     
     
    boolean
     
    boolean
     
    javafx.beans.value.ObservableValue<Boolean>
     
    void
     
    void
    removeListener(javafx.beans.InvalidationListener listener)
     
    void
    removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
     
    void
    removeListener(javafx.collections.ListChangeListener<? super E> listener)
     
    void
     
    void
    set(javafx.collections.ObservableList<E> value)
     
    javafx.beans.property.ReadOnlyIntegerProperty
     
    void
     

    Methods inherited from class javafx.beans.property.ListProperty

    bindBidirectional, setValue, toString, unbindBidirectional

    Methods inherited from class javafx.beans.property.ReadOnlyListProperty

    bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional

    Methods inherited from class javafx.beans.binding.ListExpression

    add, add, addAll, addAll, addAll, asString, clear, contains, containsAll, get, getSize, getValue, indexOf, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, lastIndexOf, listExpression, listIterator, listIterator, remove, remove, remove, removeAll, removeAll, retainAll, retainAll, set, setAll, setAll, size, subList, toArray, toArray, valueAt, valueAt

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface javafx.collections.ObservableList

    addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sorted

    Methods inherited from interface javafx.beans.value.ObservableValue

    getValue

    Methods inherited from interface javafx.beans.value.WritableValue

    getValue
  • Property Details

    • size

      public javafx.beans.property.ReadOnlyIntegerProperty sizeProperty
      Specified by:
      sizeProperty in class javafx.beans.binding.ListExpression<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • empty

      public javafx.beans.property.ReadOnlyBooleanProperty emptyProperty
      Specified by:
      emptyProperty in class javafx.beans.binding.ListExpression<E extends org.nield.dirtyfx.tracking.DirtyProperty>
  • Constructor Details

    • DirtyListProperty

      public DirtyListProperty()
  • Method Details

    • sizeProperty

      public javafx.beans.property.ReadOnlyIntegerProperty sizeProperty()
      Specified by:
      sizeProperty in class javafx.beans.binding.ListExpression<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • emptyProperty

      public javafx.beans.property.ReadOnlyBooleanProperty emptyProperty()
      Specified by:
      emptyProperty in class javafx.beans.binding.ListExpression<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • bind

      public void bind(javafx.beans.value.ObservableValue<? extends javafx.collections.ObservableList<E>> observable)
      Specified by:
      bind in interface javafx.beans.property.Property<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • unbind

      public void unbind()
      Specified by:
      unbind in interface javafx.beans.property.Property<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • isBound

      public boolean isBound()
      Specified by:
      isBound in interface javafx.beans.property.Property<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • getBean

      public Object getBean()
      Specified by:
      getBean in interface javafx.beans.property.ReadOnlyProperty<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • getName

      public String getName()
      Specified by:
      getName in interface javafx.beans.property.ReadOnlyProperty<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • get

      public javafx.collections.ObservableList<E> get()
      Specified by:
      get in interface javafx.beans.value.ObservableObjectValue<E extends org.nield.dirtyfx.tracking.DirtyProperty>
      Specified by:
      get in interface javafx.beans.value.WritableObjectValue<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • set

      public void set(javafx.collections.ObservableList<E> value)
      Specified by:
      set in interface javafx.beans.value.WritableObjectValue<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • addListener

      public void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
      Specified by:
      addListener in interface javafx.beans.value.ObservableValue<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • removeListener

      public void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableList<E>> listener)
      Specified by:
      removeListener in interface javafx.beans.value.ObservableValue<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • addListener

      public void addListener(javafx.collections.ListChangeListener<? super E> listener)
      Specified by:
      addListener in interface javafx.collections.ObservableList<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • removeListener

      public void removeListener(javafx.collections.ListChangeListener<? super E> listener)
      Specified by:
      removeListener in interface javafx.collections.ObservableList<E extends org.nield.dirtyfx.tracking.DirtyProperty>
    • addListener

      public void addListener(javafx.beans.InvalidationListener listener)
      Specified by:
      addListener in interface javafx.beans.Observable
    • removeListener

      public void removeListener(javafx.beans.InvalidationListener listener)
      Specified by:
      removeListener in interface javafx.beans.Observable
    • isDirty

      public boolean isDirty()
      Specified by:
      isDirty in interface org.nield.dirtyfx.tracking.DirtyProperty
    • isDirtyProperty

      @NotNull public javafx.beans.value.ObservableValue<Boolean> isDirtyProperty()
      Specified by:
      isDirtyProperty in interface org.nield.dirtyfx.tracking.DirtyProperty
    • rebaseline

      public void rebaseline()
      Specified by:
      rebaseline in interface org.nield.dirtyfx.tracking.DirtyProperty
    • reset

      public void reset()
      Specified by:
      reset in interface org.nield.dirtyfx.tracking.DirtyProperty