| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Function | |
| private List | |
| private Map | |
| private ChangeListener | |
| private ChangeListener | |
| private ChangeListener | |
| private ChangeListener | |
| private ValidationResult | |
| private List | |
| private ReadOnlyObjectWrapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Check | |
| public Check | |
| public Check | |
| public Check | explicit()
Sets this check to not be reevaluated automatically (i.e. recheck must be called explicetly). |
| public ValidationResult | |
| public Check | |
| public Check | immediateClear()
Sets this check to be immediately cleared (but not rechecked) if one of its dependencies changes. |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public ReadOnlyObjectProperty | Returns: The Validation result property.Can be used to track validation result changes |
| public Check | withMethod(Consumer<Check.
The code to be called in order to check the validity of this Check. checkMethodAdd a method to be called in order to perform this check. |
| checkMethods | back to summary |
|---|---|
| private List<Consumer<Check. | |
| decorationFactory | back to summary |
|---|---|
| private Function<ValidationMessage, Decoration> decorationFactory | |
| decorations | back to summary |
|---|---|
| private List<Decoration> decorations | |
| dependencies | back to summary |
|---|---|
| private Map<String, ObservableValue<? extends Object>> dependencies | |
| immediateClearListener | back to summary |
|---|---|
| private ChangeListener<? super Object> immediateClearListener | |
| immediateClearWeakListener | back to summary |
|---|---|
| private ChangeListener<? super Object> immediateClearWeakListener | |
| immediateListener | back to summary |
|---|---|
| private ChangeListener<? super Object> immediateListener | |
| immediateWeakListener | back to summary |
|---|---|
| private ChangeListener<? super Object> immediateWeakListener | |
| nextValidationResult | back to summary |
|---|---|
| private ValidationResult nextValidationResult | |
| targets | back to summary |
|---|---|
| private List<Node> targets | |
| validationResultProperty | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<ValidationResult> validationResultProperty | |
| Check | back to summary |
|---|---|
| public Check() | |
| clear | back to summary |
|---|---|
| public void clear() Clear this check, i.e. remove its decorations and set empty validation result. | |
| decorates | back to summary |
|---|---|
| public Check decorates(Node target) | |
| decoratingWith | back to summary |
|---|---|
| public Check decoratingWith(Function<ValidationMessage, Decoration> decorationFactory) | |
| dependsOn | back to summary |
|---|---|
| public Check dependsOn(String key, ObservableValue<? extends Object> dependency) | |
| explicit | back to summary |
|---|---|
| public Check explicit() Sets this check to not be reevaluated automatically (i.e. recheck must be called explicetly). This mode is the default. This method must be called after setting dependencies. | |
| getValidationResult | back to summary |
|---|---|
| public ValidationResult getValidationResult() Retrieves current validation result
| |
| immediate | back to summary |
|---|---|
| public Check immediate() Sets this check to be immediately evaluated if one of its dependencies changes. This method must be called after setting dependencies. | |
| immediateClear | back to summary |
|---|---|
| public Check immediateClear() Sets this check to be immediately cleared (but not rechecked) if one of its dependencies changes. This method must be called after setting dependencies. | |
| recheck | back to summary |
|---|---|
| public void recheck() Evaluate all dependencies and apply decorations of this check. You should not normally need to call this method directly. | |
| removeAllListeners | back to summary |
|---|---|
| private void removeAllListeners() | |
| removeDecorations | back to summary |
|---|---|
| private void removeDecorations() | |
| removeListener | back to summary |
|---|---|
| private void removeListener(ChangeListener<? super Object> listener) | |
| setNextValidationResult | back to summary |
|---|---|
| private void setNextValidationResult() | |
| validationResultProperty | back to summary |
|---|---|
| public ReadOnlyObjectProperty Can be used to track validation result changes
| |
| withMethod | back to summary |
|---|---|
| public Check withMethod(Consumer<Check. Add a method to be called in order to perform this check. If called multiple times, multiple check methods can be registered. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public < The type the value should be casted into T> T | |
| public Iterable | |
| public void |
| Context | back to summary |
|---|---|
| private Context() | |
| error | back to summary |
|---|---|
| public void error(String message) Emit an error.
| |
| get | back to summary |
|---|---|
| public <T> T get(String key) Get the current value of a dependency.
| |
| keys | back to summary |
|---|---|
| public Iterable | |
| warn | back to summary |
|---|---|
| public void warn(String message) Emit a warning.
| |