Uses of Class
com.jgoodies.validation.Severity

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(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(String text, Severity severity)
          Constructs an AbstractValidationMessage for the given text and Severity.
AbstractValidationMessage(String text, Severity severity, Object key)
          Constructs an AbstractValidationMessage for the given text, Severity, and association key.
PropertyValidationMessage(Severity severity, String text, Object target, String role, String property)
          Constructs a PropertyValidationMessage for the given text, subject, role description and property description.
SimpleValidationMessage(String text, Severity severity)
          Constructs a simple validation message for the given text and message severity.
SimpleValidationMessage(String text, Severity severity, 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, String property, String text)
          Adds a PropertyValidationMessage to this object's default ValidationResult.
 void PropertyValidationSupport.add(ValidationResult result, Severity severity, String property, String text)
          Adds a PropertyValidationMessage to the specified ValidationResult.
 PropertyValidationMessage PropertyValidationSupport.create(Severity severity, String property, 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, Object target, String role)
          Constructs a PropertyValidationSupport instance for the given validation target and its validation role.
PropertyValidationSupport(ValidationResult defaultResult, Severity defaultSeverity, Object target, 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(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 Icon ValidationResultViewFactory.getIcon(Severity severity)
          Returns the warning icon for warnings, the error icon for errors and null otherwise.
static 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(JComponent comp, Severity severity)
          Marks the given component with the specified severity.
 



Copyright © 2003-2011 JGoodies Karsten Lentzsch. All Rights Reserved.