Module org.controlsfx.controls
Class GraphicValidationDecoration
- java.lang.Object
-
- org.controlsfx.validation.decoration.AbstractValidationDecoration
-
- org.controlsfx.validation.decoration.GraphicValidationDecoration
-
- All Implemented Interfaces:
ValidationDecoration
public class GraphicValidationDecoration extends AbstractValidationDecoration
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

-
-
Constructor Summary
Constructors Constructor Description GraphicValidationDecoration()Creates default instance
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected javafx.scene.NodecreateDecorationNode(ValidationMessage message)protected javafx.scene.NodecreateErrorNode()Deprecated.SeegetGraphicBySeverity(Severity)methodprotected Collection<Decoration>createRequiredDecorations(javafx.scene.control.Control target)protected javafx.scene.control.TooltipcreateTooltip(ValidationMessage message)protected Collection<Decoration>createValidationDecorations(ValidationMessage message)protected javafx.scene.NodecreateWarningNode()Deprecated.SeegetGraphicBySeverity(Severity)methodprotected javafx.scene.NodegetGraphicBySeverity(Severity severity)protected StringgetStyleBySeverity(Severity severity)-
Methods inherited from class org.controlsfx.validation.decoration.AbstractValidationDecoration
applyRequiredDecoration, applyValidationDecoration, removeDecorations
-
-
-
-
Method Detail
-
createErrorNode
@Deprecated protected javafx.scene.Node createErrorNode()
Deprecated.SeegetGraphicBySeverity(Severity)method
-
createWarningNode
@Deprecated protected javafx.scene.Node createWarningNode()
Deprecated.SeegetGraphicBySeverity(Severity)method
-
createDecorationNode
protected javafx.scene.Node createDecorationNode(ValidationMessage message)
-
getGraphicBySeverity
protected javafx.scene.Node getGraphicBySeverity(Severity severity)
-
createTooltip
protected javafx.scene.control.Tooltip createTooltip(ValidationMessage message)
-
createValidationDecorations
protected Collection<Decoration> createValidationDecorations(ValidationMessage message)
- Specified by:
createValidationDecorationsin classAbstractValidationDecoration
-
createRequiredDecorations
protected Collection<Decoration> createRequiredDecorations(javafx.scene.control.Control target)
- Specified by:
createRequiredDecorationsin classAbstractValidationDecoration
-
-