Top Description Methods
org.controlsfx.validation.decoration

public Interface ValidationDecoration

Known Direct Implementers
org.controlsfx.validation.decoration.AbstractValidationDecoration
Imports
javafx.scene.control.Control, org.controlsfx.validation.ValidationMessage

Contract for validation decorators. Classes implementing this interface are used for decorating components with error/warning conditions, if such exists. They also used for marking 'required' components.

Method Summary

Modifier and TypeMethod and Description
public void
applyRequiredDecoration(Control
control
target
)

Applies 'required' decoration to a given control

public void
applyValidationDecoration(ValidationMessage
validation message
message
)

Applies validation decoration based on a given validation message

public void
removeDecorations(Control target)

Removes all validation specific decorations from the target control.

Method Detail

applyRequiredDecorationback to summary
public void applyRequiredDecoration(Control target)

Applies 'required' decoration to a given control

Parameters
target:Control

control

applyValidationDecorationback to summary
public void applyValidationDecoration(ValidationMessage message)

Applies validation decoration based on a given validation message

Parameters
message:ValidationMessage

validation message

removeDecorationsback to summary
public void removeDecorations(Control target)

Removes all validation specific decorations from the target control. Non-validation specific decorations are left untouched.