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 NodecreateDecorationNode(ValidationMessage message) protected NodeDeprecated.protected Collection<Decoration>createRequiredDecorations(Control target) protected TooltipcreateTooltip(ValidationMessage message) protected Collection<Decoration>protected NodeDeprecated.SeegetGraphicBySeverity(Severity)methodprotected NodegetGraphicBySeverity(Severity severity) protected StringgetStyleBySeverity(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:
createValidationDecorationsin classAbstractValidationDecoration
-
createRequiredDecorations
- Specified by:
createRequiredDecorationsin classAbstractValidationDecoration
-
getGraphicBySeverity(Severity)method