public abstract class ValidationVisualizerBase extends Object implements ValidationVisualizer
ValidationVisualizer
s.
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, wait
initVisualization
public void initVisualization(ValidationStatus result, javafx.scene.control.Control control, boolean required)
ValidationVisualizer
ValidationStatus
on the given input
control.initVisualization
in interface ValidationVisualizer
result
- 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 © 2015 Saxonia Systems AG. All rights reserved.