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 Details

  • Constructor Details

    • DirtyBooleanProperty

      public DirtyBooleanProperty(@NotNull Boolean initialValue)
  • Method Details

    • getOriginalValue

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

      public javafx.beans.value.ObservableValue<Boolean> originalValueProperty()
      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