|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Severity | |
|---|---|
| com.jgoodies.validation | Consists of the required validation framework core types |
| com.jgoodies.validation.message | Contains default implementations for validation messages |
| com.jgoodies.validation.util | Contains optional validation helper classes and default implementations. |
| com.jgoodies.validation.view | Contains optional validation helper classes that assist in presenting validation results. |
| Uses of Severity in com.jgoodies.validation |
|---|
| Methods in com.jgoodies.validation that return Severity | |
|---|---|
Severity |
ValidationResultModel.getSeverity()
Looks up and returns the Severity of this model's validation result, one of Severity.ERROR, Severity.WARNING,
or Severity.OK. |
Severity |
ValidationResult.getSeverity()
Returns the highest severity of this result's messages, Severity.OK if there are no messages. |
static Severity |
Severity.max(Severity severity1,
Severity severity2)
Returns the higher of the given severities by comparing their ordinals. |
Severity |
ValidationMessage.severity()
Returns this message's severity: error or warning. |
static Severity |
Severity.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Severity[] |
Severity.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in com.jgoodies.validation with parameters of type Severity | |
|---|---|
static Severity |
Severity.max(Severity severity1,
Severity severity2)
Returns the higher of the given severities by comparing their ordinals. |
| Uses of Severity in com.jgoodies.validation.message |
|---|
| Methods in com.jgoodies.validation.message that return Severity | |
|---|---|
Severity |
AbstractValidationMessage.severity()
Returns this message's severity, either error or warning. |
| Constructors in com.jgoodies.validation.message with parameters of type Severity | |
|---|---|
AbstractValidationMessage(java.lang.String text,
Severity severity)
Constructs an AbstractValidationMessage for the given text and Severity. |
|
AbstractValidationMessage(java.lang.String text,
Severity severity,
java.lang.Object key)
Constructs an AbstractValidationMessage for the given text, Severity, and association key. |
|
PropertyValidationMessage(Severity severity,
java.lang.String text,
java.lang.Object target,
java.lang.String role,
java.lang.String property)
Constructs a PropertyValidationMessage for the given text, subject, role description and property description. |
|
SimpleValidationMessage(java.lang.String text,
Severity severity)
Constructs a simple validation message for the given text and message severity. |
|
SimpleValidationMessage(java.lang.String text,
Severity severity,
java.lang.Object key)
Constructs a simple validation message for the given text, message severity, and message key. |
|
| Uses of Severity in com.jgoodies.validation.util |
|---|
| Methods in com.jgoodies.validation.util that return Severity | |
|---|---|
Severity |
AbstractValidationResultModel.getSeverity()
Looks up and returns the severity of the validation result, one of error, warning, or null. |
| Methods in com.jgoodies.validation.util with parameters of type Severity | |
|---|---|
void |
PropertyValidationSupport.add(Severity severity,
java.lang.String property,
java.lang.String text)
Adds a PropertyValidationMessage to this object's
default ValidationResult. |
void |
PropertyValidationSupport.add(ValidationResult result,
Severity severity,
java.lang.String property,
java.lang.String text)
Adds a PropertyValidationMessage to the specified
ValidationResult. |
PropertyValidationMessage |
PropertyValidationSupport.create(Severity severity,
java.lang.String property,
java.lang.String text)
Creates and returns an error PropertyValidationMessage
for the given property and message text using the specified severity. |
| Constructors in com.jgoodies.validation.util with parameters of type Severity | |
|---|---|
PropertyValidationSupport(Severity defaultSeverity,
java.lang.Object target,
java.lang.String role)
Constructs a PropertyValidationSupport instance for the
given validation target and its validation role. |
|
PropertyValidationSupport(ValidationResult defaultResult,
Severity defaultSeverity,
java.lang.Object target,
java.lang.String role)
Constructs a PropertyValidationSupport instance for the
given default result, default severity, validation target and the given
validation role. |
|
| Uses of Severity in com.jgoodies.validation.view |
|---|
| Methods in com.jgoodies.validation.view that return Severity | |
|---|---|
static Severity |
ValidationComponentUtils.getSeverity(javax.swing.JComponent comp)
Returns the component's Severity if it has been set before. |
| Methods in com.jgoodies.validation.view with parameters of type Severity | |
|---|---|
static javax.swing.Icon |
ValidationResultViewFactory.getIcon(Severity severity)
Returns the warning icon for warnings, the error icon for errors and null otherwise. |
static javax.swing.Icon |
ValidationResultViewFactory.getSmallIcon(Severity severity)
Returns the small warning icon for warnings, the small error icon for errors and null otherwise. |
static void |
ValidationComponentUtils.setSeverity(javax.swing.JComponent comp,
Severity severity)
Marks the given component with the specified severity. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||