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 voidaddValidator(ValueValidator<M,V> validator)Adds aValueValidator.javafx.beans.property.Property<java.lang.Boolean>dirtyProperty()Obtains the dirtyProperty.ErrorListenergetErrorListener()Obtains theErrorListener.javafx.beans.property.Property<V>getInputValue()Obtains the value.MgetModel()Obtains the model.ActionergetOptionalActioner()Obtains theActioner.voidrefreshError()Refreshes the error.voidreload(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-Builderto 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.
-
-