public abstract class ValidationVisualizerBase extends Object implements ValidationVisualizer
ValidationVisualizers.
Implementors using this base class only need to implement logic on how to visualize a single
ValidationMessage (see applyVisualization(Control, Optional, boolean)) and the required flag (see
applyRequiredVisualization(Control, boolean)).
This base class takes care for the handling of the ValidationStatus and the reaction to it's changing message
lists.
| Constructor and Description |
|---|
ValidationVisualizerBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
initVisualization(ValidationStatus result,
javafx.scene.control.Control control,
boolean required)
Initialize this visualization so that it visualizes the given
ValidationStatus on the given input
control. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitVisualizationpublic void initVisualization(ValidationStatus result, javafx.scene.control.Control control, boolean required)
ValidationVisualizerValidationStatus on the given input
control.initVisualization in interface ValidationVisualizerresult - the status that is visualized.control - the control that will be decorated.required - a boolean flag indicating whether this input value is mandatory or not.Copyright © 2016 Saxonia Systems AG. All rights reserved.