| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private ReadOnlyBooleanWrapper | |
| private ReadOnlyBooleanWrapper | |
| private ReadOnlyObjectWrapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | |
| public ReadOnlyBooleanProperty | containsErrorsProperty()
A read-only boolean property indicating whether any of the checks of this validator emitted an error. |
| public boolean | |
| public ReadOnlyBooleanProperty | containsWarningsProperty()
A read-only boolean property indicating whether any of the checks of this validator emitted a warning. |
| public Check | Returns: A check object whose dependsOn, decorates, etc. methods can be calledCreate a check that lives within this checker's domain. |
| public StringBinding | |
| public StringBinding | createStringBinding(String
The string to prefix each validation message with prefix, String The string to separate consecutive validation messages with separator, Severity... The severities to consider; If none is given, only Severity.ERROR will be considered severities)Create a string property that depends on the validation result. |
| public void | |
| public ValidationResult | |
| public void | |
| public void | |
| private void | |
| public void | |
| public boolean | Returns: true if no errors were found, false otherwiseRun all checks (decorating nodes if appropriate) |
| public ReadOnlyObjectProperty | Returns: The Validation result property.Can be used to track validation result changes |
| checks | back to summary |
|---|---|
| private Map<Check, ChangeListener<ValidationResult>> checks | |
| containsErrorsProperty | back to summary |
|---|---|
| private ReadOnlyBooleanWrapper containsErrorsProperty | |
| containsWarningsProperty | back to summary |
|---|---|
| private ReadOnlyBooleanWrapper containsWarningsProperty | |
| validationResultProperty | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<ValidationResult> validationResultProperty | |
| Validator | back to summary |
|---|---|
| public Validator() | |
| add | back to summary |
|---|---|
| public void add(Check check) Add another check to the checker. Changes in the check's validationResultProperty will be reflected in the checker.
| |
| clear | back to summary |
|---|---|
| public void clear() Clear all validations (i.e. remove decorations an clear validations result. | |
| containsErrors | back to summary |
|---|---|
| public boolean containsErrors() | |
| containsErrorsProperty | back to summary |
|---|---|
| public ReadOnlyBooleanProperty containsErrorsProperty() A read-only boolean property indicating whether any of the checks of this validator emitted an error. | |
| containsWarnings | back to summary |
|---|---|
| public boolean containsWarnings() | |
| containsWarningsProperty | back to summary |
|---|---|
| public ReadOnlyBooleanProperty containsWarningsProperty() A read-only boolean property indicating whether any of the checks of this validator emitted a warning. | |
| createCheck | back to summary |
|---|---|
| public Check createCheck() Create a check that lives within this checker's domain.
| |
| createStringBinding | back to summary |
|---|---|
| public StringBinding createStringBinding() Create a string property that depends on the validation result. Each error message will be displayed on a separate line prefixed with a bullet. | |
| createStringBinding | back to summary |
|---|---|
| public StringBinding createStringBinding(String prefix, String separator, Severity... severities) Create a string property that depends on the validation result. | |
| explicit | back to summary |
|---|---|
| public void explicit() Set all checks (that are currently added to the validator) to explicit mode. | |
| getValidationResult | back to summary |
|---|---|
| public ValidationResult getValidationResult() Retrieves current validation result
| |
| immediate | back to summary |
|---|---|
| public void immediate() Set all checks (that are currently added to the validator) to immediate mode. | |
| immediateClear | back to summary |
|---|---|
| public void immediateClear() Set all checks (that are currently added to the validator) to immediate clear mode. | |
| refreshProperties | back to summary |
|---|---|
| private void refreshProperties() | |
| remove | back to summary |
|---|---|
| public void remove(Check check) Removes a check from this validator.
| |
| validate | back to summary |
|---|---|
| public boolean validate() Run all checks (decorating nodes if appropriate)
| |
| validationResultProperty | back to summary |
|---|---|
| public ReadOnlyObjectProperty Can be used to track validation result changes
| |