public interface ResetableProperty<T>
Type | Property and Description |
---|---|
javafx.beans.property.ReadOnlyProperty<T> |
baseValue
A property that tracks the base value of this
ResetableProperty . |
javafx.beans.binding.BooleanBinding |
dirty
A property that tracks if the current value differs form the base value.
|
javafx.beans.property.Property<T> |
value
A property that tracks the current value of this
ResetableProperty . |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyProperty<T> |
baseValueProperty()
A property that tracks the base value of this
ResetableProperty . |
javafx.beans.binding.BooleanBinding |
dirtyProperty()
A property that tracks if the current value differs form the base value.
|
T |
getBaseValue()
Returns the base value of this
ResetableProperty . |
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
T |
getValue()
Returns the current value of this
ResetableProperty . |
boolean |
isDirty()
Query if the current value differs from the base value.
|
ResetableProperty<T> |
rebase()
Sets the current value as the base value.
|
ResetableProperty<T> |
reset()
Sets the base value as the current value.
|
ResetableProperty<T> |
setValue(T value)
Sets the current value.
|
javafx.beans.property.Property<T> |
valueProperty()
A property that tracks the current value of this
ResetableProperty . |
@Nonnull javafx.beans.property.ReadOnlyProperty<T> baseValueProperty
ResetableProperty
.getBaseValue()
@Nonnull javafx.beans.property.Property<T> valueProperty
ResetableProperty
.getValue()
@Nonnull javafx.beans.binding.BooleanBinding dirtyProperty
@Nonnull javafx.beans.property.ReadOnlyProperty<T> baseValueProperty()
ResetableProperty
.getBaseValue()
@Nonnull javafx.beans.property.Property<T> valueProperty()
ResetableProperty
.getValue()
@Nonnull javafx.beans.binding.BooleanBinding dirtyProperty()
@Nullable T getBaseValue()
ResetableProperty
.@Nullable T getValue()
ResetableProperty
.@Nonnull ResetableProperty<T> setValue(@Nullable T value)
value
- the new valueboolean isDirty()
true
if values differ, false
otherwise@Nonnull ResetableProperty<T> rebase()
ResetableProperty
@Nonnull ResetableProperty<T> reset()
ResetableProperty
@Nullable java.lang.Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
@Nonnull java.lang.String getName()
String
.String