Module org.controlsfx.controls
Class GraphicValidationDecoration
java.lang.Object
org.controlsfx.validation.decoration.AbstractValidationDecoration
org.controlsfx.validation.decoration.GraphicValidationDecoration
- All Implemented Interfaces:
ValidationDecoration
Validation decorator to decorate validation state using images.
Validation icons are shown in the bottom-left corner of the control as it is seems to be the most logical location for such information. Required components are marked at the top-left corner with small red triangle. Here is example of such decoration

Validation icons are shown in the bottom-left corner of the control as it is seems to be the most logical location for such information. Required components are marked at the top-left corner with small red triangle. Here is example of such decoration

-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected javafx.scene.Node
createDecorationNode
(ValidationMessage message) protected javafx.scene.Node
Deprecated.protected Collection
<Decoration> createRequiredDecorations
(javafx.scene.control.Control target) protected javafx.scene.control.Tooltip
createTooltip
(ValidationMessage message) protected Collection
<Decoration> protected javafx.scene.Node
Deprecated.SeegetGraphicBySeverity(Severity)
methodprotected javafx.scene.Node
getGraphicBySeverity
(Severity severity) protected String
getStyleBySeverity
(Severity severity) Methods inherited from class org.controlsfx.validation.decoration.AbstractValidationDecoration
applyRequiredDecoration, applyValidationDecoration, removeDecorations
-
Constructor Details
-
GraphicValidationDecoration
public GraphicValidationDecoration()Creates default instance
-
-
Method Details
-
createErrorNode
Deprecated.SeegetGraphicBySeverity(Severity)
method -
createWarningNode
Deprecated.SeegetGraphicBySeverity(Severity)
method -
createDecorationNode
-
getGraphicBySeverity
-
createTooltip
-
getStyleBySeverity
-
createValidationDecorations
- Specified by:
createValidationDecorations
in classAbstractValidationDecoration
-
createRequiredDecorations
- Specified by:
createRequiredDecorations
in classAbstractValidationDecoration
-
getGraphicBySeverity(Severity)
method