Class DirtyStringProperty

java.lang.Object
javafx.beans.binding.StringExpression
javafx.beans.property.ReadOnlyStringProperty
javafx.beans.property.StringProperty
cz.masci.springfx.mvci.model.dirty.DirtyStringProperty
All Implemented Interfaces:
javafx.beans.Observable, javafx.beans.property.Property<String>, javafx.beans.property.ReadOnlyProperty<String>, javafx.beans.value.ObservableObjectValue<String>, javafx.beans.value.ObservableStringValue, javafx.beans.value.ObservableValue<String>, javafx.beans.value.WritableObjectValue<String>, javafx.beans.value.WritableStringValue, javafx.beans.value.WritableValue<String>, org.nield.dirtyfx.tracking.DirtyProperty

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

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

    Methods inherited from class javafx.beans.property.StringProperty

    bindBidirectional, bindBidirectional, bindBidirectional, toString, unbindBidirectional, unbindBidirectional

    Methods inherited from class javafx.beans.binding.StringExpression

    concat, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpression

    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

    • DirtyStringProperty

      public DirtyStringProperty(@NotNull String initialValue)
  • Method Details

    • getOriginalValue

      public String 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<String> originalValueProperty()
      Returns:
      the originalValue property
      See Also:
    • bind

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

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

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

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

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

      public String get()
      Specified by:
      get in interface javafx.beans.value.ObservableObjectValue<String>
      Specified by:
      get in interface javafx.beans.value.WritableObjectValue<String>
    • set

      public void set(String value)
      Specified by:
      set in interface javafx.beans.value.WritableObjectValue<String>
    • getValue

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

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

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

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