public interface ResetableProperty<T>
Type | Property and Description |
---|---|
ReadOnlyProperty<T> |
baseValue
A property that tracks the base value of this
ResetableProperty . |
BooleanBinding |
dirty
A property that tracks if the current value differs form the base value.
|
Property<T> |
value
A property that tracks the current value of this
ResetableProperty . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyProperty<T> |
baseValueProperty()
A property that tracks the base value of this
ResetableProperty . |
BooleanBinding |
dirtyProperty()
A property that tracks if the current value differs form the base value.
|
T |
getBaseValue()
Returns the base value of this
ResetableProperty . |
Object |
getBean()
Returns the
Object that contains this property. |
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.
|
Property<T> |
valueProperty()
A property that tracks the current value of this
ResetableProperty . |
ReadOnlyProperty<T> baseValueProperty
ResetableProperty
.getBaseValue()
Property<T> valueProperty
ResetableProperty
.getValue()
BooleanBinding dirtyProperty
ReadOnlyProperty<T> baseValueProperty()
ResetableProperty
.getBaseValue()
Property<T> valueProperty()
ResetableProperty
.getValue()
BooleanBinding dirtyProperty()
@Nullable T getBaseValue()
ResetableProperty
.@Nullable T getValue()
ResetableProperty
.ResetableProperty<T> setValue(@Nullable T value)
value
- the new valueboolean isDirty()
true
if values differ, false
otherwiseResetableProperty<T> rebase()
ResetableProperty
ResetableProperty<T> reset()
ResetableProperty
@Nullable Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
String getName()
String
.String