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 Node
createDecorationNode(ValidationMessage message)
protected Node
createErrorNode()
Deprecated.SeegetGraphicBySeverity(Severity)
methodprotected Collection<Decoration>
createRequiredDecorations(Control target)
protected Tooltip
createTooltip(ValidationMessage message)
protected Collection<Decoration>
createValidationDecorations(ValidationMessage message)
protected Node
createWarningNode()
Deprecated.SeegetGraphicBySeverity(Severity)
methodprotected Node
getGraphicBySeverity(Severity severity)
protected String
getStyleBySeverity(Severity severity)
-
Methods inherited from class org.controlsfx.validation.decoration.AbstractValidationDecoration
applyRequiredDecoration, applyValidationDecoration, removeDecorations
-
-
-
-
Method Detail
-
createErrorNode
@Deprecated protected Node createErrorNode()
Deprecated.SeegetGraphicBySeverity(Severity)
method
-
createWarningNode
@Deprecated protected Node createWarningNode()
Deprecated.SeegetGraphicBySeverity(Severity)
method
-
createDecorationNode
protected Node createDecorationNode(ValidationMessage message)
-
createTooltip
protected Tooltip createTooltip(ValidationMessage message)
-
createValidationDecorations
protected Collection<Decoration> createValidationDecorations(ValidationMessage message)
- Specified by:
createValidationDecorations
in classAbstractValidationDecoration
-
createRequiredDecorations
protected Collection<Decoration> createRequiredDecorations(Control target)
- Specified by:
createRequiredDecorations
in classAbstractValidationDecoration
-
-