Class DirtyBooleanProperty

java.lang.Object
javafx.beans.binding.BooleanExpression
javafx.beans.property.ReadOnlyBooleanProperty
javafx.beans.property.BooleanProperty
cz.masci.springfx.mvci.model.dirty.DirtyBooleanProperty
All Implemented Interfaces:
javafx.beans.Observable, javafx.beans.property.Property<Boolean>, javafx.beans.property.ReadOnlyProperty<Boolean>, javafx.beans.value.ObservableBooleanValue, javafx.beans.value.ObservableValue<Boolean>, javafx.beans.value.WritableBooleanValue, javafx.beans.value.WritableValue<Boolean>, org.nield.dirtyfx.tracking.DirtyProperty

public class DirtyBooleanProperty extends javafx.beans.property.BooleanProperty implements org.nield.dirtyfx.tracking.DirtyProperty
A boolean property that tracks and manages its "dirty" state. It extends the BooleanProperty class and implements the DirtyProperty interface.
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.value.ObservableValue<Boolean>
     
  • 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 Boolean> listener)
     
    void
    bind(javafx.beans.value.ObservableValue<? extends Boolean> observable)
     
    boolean
    get()
     
     
     
    Gets the value of the originalValue property.
     
    boolean
     
    boolean
     
    javafx.beans.value.ObservableValue<Boolean>
     
    javafx.beans.value.ObservableValue<Boolean>
     
    void
     
    void
    removeListener(javafx.beans.InvalidationListener listener)
     
    void
    removeListener(javafx.beans.value.ChangeListener<? super Boolean> listener)
     
    void
     
    void
    set(boolean value)
     
    void
     
    void
     

    Methods inherited from class javafx.beans.property.BooleanProperty

    asObject, bindBidirectional, booleanProperty, toString, unbindBidirectional

    Methods inherited from class javafx.beans.property.ReadOnlyBooleanProperty

    readOnlyBooleanProperty

    Methods inherited from class javafx.beans.binding.BooleanExpression

    and, asString, booleanExpression, booleanExpression, isEqualTo, isNotEqualTo, not, or

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface javafx.beans.Observable

    subscribe

    Methods inherited from interface javafx.beans.value.ObservableValue

    flatMap, map, orElse, subscribe, subscribe, when
  • Property Details

  • Constructor Details

    • DirtyBooleanProperty

      public DirtyBooleanProperty(@NotNull Boolean initialValue)
  • Method Details

    • getOriginalValue

      public Boolean getOriginalValue()
      Gets the value of the originalValue property.
      Property description:
      Returns:
      the value of the originalValue property
      See Also:
    • originalValueProperty

      public javafx.beans.value.ObservableValue<Boolean> originalValueProperty()
      Returns:
      the originalValue property
      See Also:
    • bind

      public void bind(javafx.beans.value.ObservableValue<? extends Boolean> observable)
      Specified by:
      bind in interface javafx.beans.property.Property<Boolean>
    • unbind

      public void unbind()
      Specified by:
      unbind in interface javafx.beans.property.Property<Boolean>
    • isBound

      public boolean isBound()
      Specified by:
      isBound in interface javafx.beans.property.Property<Boolean>
    • getBean

      public Object getBean()
      Specified by:
      getBean in interface javafx.beans.property.ReadOnlyProperty<Boolean>
    • getName

      public String getName()
      Specified by:
      getName in interface javafx.beans.property.ReadOnlyProperty<Boolean>
    • get

      public boolean get()
      Specified by:
      get in interface javafx.beans.value.ObservableBooleanValue
      Specified by:
      get in interface javafx.beans.value.WritableBooleanValue
    • set

      public void set(boolean value)
      Specified by:
      set in interface javafx.beans.value.WritableBooleanValue
    • getValue

      public Boolean getValue()
      Specified by:
      getValue in interface javafx.beans.value.ObservableValue<Boolean>
      Specified by:
      getValue in interface javafx.beans.value.WritableValue<Boolean>
      Overrides:
      getValue in class javafx.beans.binding.BooleanExpression
    • setValue

      public void setValue(Boolean value)
      Specified by:
      setValue in interface javafx.beans.value.WritableBooleanValue
      Specified by:
      setValue in interface javafx.beans.value.WritableValue<Boolean>
      Overrides:
      setValue in class javafx.beans.property.BooleanProperty
    • addListener

      public void addListener(javafx.beans.value.ChangeListener<? super Boolean> listener)
      Specified by:
      addListener in interface javafx.beans.value.ObservableValue<Boolean>
    • removeListener

      public void removeListener(javafx.beans.value.ChangeListener<? super Boolean> listener)
      Specified by:
      removeListener in interface javafx.beans.value.ObservableValue<Boolean>
    • 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