| Modifier and Type | Field and Description |
|---|---|
| public static final Comparator |
| Modifier and Type | Method and Description |
|---|---|
| public default int | compareTo(ValidationMessage msg)
Implements java. Compares this object with the specified object for order. |
| public static ValidationMessage | |
| public Severity | |
| public Control | |
| public String | |
| public static ValidationMessage | |
| public static ValidationMessage | |
| public static ValidationMessage | |
| public static ValidationMessage |
| COMPARATOR | back to summary |
|---|---|
| public static final Comparator<ValidationMessage> COMPARATOR | |
| compareTo | back to summary |
|---|---|
| public default int compareTo(ValidationMessage msg) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| error | back to summary |
|---|---|
| public static ValidationMessage error(Control target, String text) Factory method to create a simple error message
| |
| getSeverity | back to summary |
|---|---|
| public Severity getSeverity() Message
| |
| getTarget | back to summary |
|---|---|
| public Control getTarget() Message target -
| |
| getText | back to summary |
|---|---|
| public String getText() Message text
| |
| info | back to summary |
|---|---|
| public static ValidationMessage info(Control target, String text) Factory method to create a simple info message
| |
| ok | back to summary |
|---|---|
| public static ValidationMessage ok(Control target, String text) Factory method to create a simple ok message
| |
| ok | back to summary |
|---|---|
| public static ValidationMessage ok(Control target) Factory method to create a simple ok message
| |
| warning | back to summary |
|---|---|
| public static ValidationMessage warning(Control target, String text) Factory method to create a simple warning message
| |