Interface ValueInputContext<M,V>
-
public interface ValueInputContext<M,V>
Context for theValueInput
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addValidator(ValueValidator<M,V> validator)
Adds aValueValidator
.javafx.beans.property.Property<java.lang.Boolean>
dirtyProperty()
Obtains the dirtyProperty
.ErrorListener
getErrorListener()
Obtains theErrorListener
.javafx.beans.property.Property<V>
getInputValue()
Obtains the value.M
getModel()
Obtains the model.Actioner
getOptionalActioner()
Obtains theActioner
.void
refreshError()
Refreshes the error.void
reload(Builder<?,?,?> builder)
Triggers reload of the value from the model for theBuilder
.javafx.beans.property.Property<java.lang.Boolean>
validProperty()
Obtains the validProperty
.
-
-
-
Method Detail
-
getModel
M getModel()
Obtains the model.- Returns:
- Model.
-
getInputValue
javafx.beans.property.Property<V> getInputValue()
Obtains the value.- Returns:
- Value.
-
addValidator
void addValidator(ValueValidator<M,V> validator)
Adds aValueValidator
.- Parameters:
validator
-ValueValidator
.
-
reload
void reload(Builder<?,?,?> builder)
Triggers reload of the value from the model for theBuilder
.- Parameters:
builder
-Builder
to identify the value from the model to reload.
-
refreshError
void refreshError()
Refreshes the error.
-
dirtyProperty
javafx.beans.property.Property<java.lang.Boolean> dirtyProperty()
Obtains the dirtyProperty
.- Returns:
- Dirty
Property
.
-
validProperty
javafx.beans.property.Property<java.lang.Boolean> validProperty()
Obtains the validProperty
.- Returns:
- Valid
Property
.
-
getErrorListener
ErrorListener getErrorListener()
Obtains theErrorListener
.- Returns:
ErrorListener
.
-
-