A C D E F G H I K L M P R S T U V 

A

AbstractValidationMessage - Class in com.jgoodies.validation.message
An abstract class that minimizes the effort required to implement the ValidationMessage interface.
AbstractValidationMessage(String, Severity) - Constructor for class com.jgoodies.validation.message.AbstractValidationMessage
Constructs an AbstractValidationMessage for the given text and Severity.
AbstractValidationMessage(String, Severity, Object) - Constructor for class com.jgoodies.validation.message.AbstractValidationMessage
Constructs an AbstractValidationMessage for the given text, Severity, and association key.
AbstractValidationResultModel - Class in com.jgoodies.validation.util
An abstract class that minimizes the effort required to implement the ValidationResultModel interface.
AbstractValidationResultModel() - Constructor for class com.jgoodies.validation.util.AbstractValidationResultModel
 
add(String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds a PropertyValidationMessage to this object's default ValidationResult.
add(Severity, String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds a PropertyValidationMessage to this object's default ValidationResult.
add(ValidationResult, String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds a PropertyValidationMessage to the specified ValidationResult.
add(ValidationResult, Severity, String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds a PropertyValidationMessage to the specified ValidationResult.
add(ValidationResultModel) - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Adds the given ValidationResultModel to this container's list of children and registers the container to listen for changes in the child.
add(ValidationMessage) - Method in class com.jgoodies.validation.ValidationResult
Adds a new ValidationMessage to the list of messages.
addAll(List<ValidationMessage>) - Method in class com.jgoodies.validation.ValidationResult
Adds all messages from the given list to this validation result.
addAllFrom(ValidationResult) - Method in class com.jgoodies.validation.ValidationResult
Adds all messages from the given ValidationResult to the list of messages that this validation result holds.
addError(String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds an error PropertyValidationMessage to this object's default ValidationResult.
addError(ValidationResult, String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds an error PropertyValidationMessage to the specified ValidationResult.
addError(String) - Method in class com.jgoodies.validation.ValidationResult
Creates and adds an error message to the list of validation messages using the given text.
addError(String, String) - Method in class com.jgoodies.validation.ValidationResult
Creates and adds an error message to the list of validation messages using the given text and validation message key.
addWarning(String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds a warning PropertyValidationMessage to this object's default ValidationResult.
addWarning(ValidationResult, String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Adds a warning PropertyValidationMessage to the specified ValidationResult.
addWarning(String) - Method in class com.jgoodies.validation.ValidationResult
Creates and adds a warning message to the list of validation messages using the given text.
addWarning(String, String) - Method in class com.jgoodies.validation.ValidationResult
Creates and adds a warning message to the list of validation messages using the given text.
aspect() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns a description of the validated aspect, that is the target's role plus the validated property.

C

clearResult() - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Sets an empty ValidationResult as default result.
com.jgoodies.validation - package com.jgoodies.validation
Consists of the required validation framework core types.
com.jgoodies.validation.extras - package com.jgoodies.validation.extras
Contains optional Validation framework classes that ship only with the JGoodies Validation source distribution and are not yet part of the binary Validation library.
com.jgoodies.validation.message - package com.jgoodies.validation.message
Contains default implementations for validation messages.
com.jgoodies.validation.util - package com.jgoodies.validation.util
Contains optional validation helper classes and default implementations.
com.jgoodies.validation.view - package com.jgoodies.validation.view
Contains optional validation helper classes that assist in presenting validation results.
contains(ValidationMessage) - Method in class com.jgoodies.validation.ValidationResult
Checks and answers whether this result contains the specified message.
create(String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Creates and returns a PropertyValidationMessage for the given property and message text using the default severity.
create(Severity, String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Creates and returns an error PropertyValidationMessage for the given property and message text using the specified severity.
createError(String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Creates and returns an error PropertyValidationMessage for the given property and message text.
createReportIconAndTextLabel(ValidationResultModel) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a label with icon and text that indicates the validation state and displays the first message text with the highest severity.
createReportIconAndTextPane(ValidationResultModel) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a transparent panel that consists of a report label and a transparent report text area.
createReportIconLabel(ValidationResultModel) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns an icon label that indicates the validation severity.
createReportList(ValidationResultModel) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a list that presents validation messages.
createReportList(ValidationResultModel, Color) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a list wrapped in a scroll pane that presents validation messages.
createReportTextArea(ValidationResultModel) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a text area that is intended to show validation messages.
createReportTextArea(ValidationResultModel, Color) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a text area that is intended to show validation messages.
createReportTextPane(ValidationResultModel) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a text area wrapped by a scroll pane that is intended to show validation messages.
createReportTextPane(ValidationResultModel, Color) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Creates and returns a text area wrapped by a scroll pane that is intended to show validation messages.
createWarning(String, String) - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Creates and returns a warning PropertyValidationMessage for the given property and message text.

D

DefaultValidationResultModel - Class in com.jgoodies.validation.util
A default implementation of the ValidationResultModel interface that holds a ValidationResult.
DefaultValidationResultModel() - Constructor for class com.jgoodies.validation.util.DefaultValidationResultModel
Constructs a DefaultValidationResultModel initialized with an empty validation result.
DelayedValidationResultModel - Class in com.jgoodies.validation.extras
A ValidationResultModel that defers changes for a specified delay.
DelayedValidationResultModel(ValidationResultModel, int) - Constructor for class com.jgoodies.validation.extras.DelayedValidationResultModel
Constructs a DelayedValidationResultModel for the given subject ValidationResultModel and the specified Timer delay in milliseconds.

E

EMPTY - Static variable in class com.jgoodies.validation.ValidationResult
A constant for an empty and unmodifiable validation result.
equals(Object) - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Compares the specified object with this validation message for equality.
equals(Object) - Method in class com.jgoodies.validation.message.SimpleValidationMessage
Compares the specified object with this validation message for equality.
equals(Object) - Method in class com.jgoodies.validation.ValidationResult
Compares the specified object with this validation result for equality.

F

firePropertyChanges(ValidationResult, ValidationResult) - Method in class com.jgoodies.validation.util.AbstractValidationResultModel
Notifies all registered listeners about changes of the result itself and the properties for severity, errors and messages.
formattedText() - Method in class com.jgoodies.validation.message.AbstractValidationMessage
Returns a message description as formatted text.
formattedText() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns a message description as formatted text.
formattedText() - Method in interface com.jgoodies.validation.ValidationMessage
Returns a formatted text that describes the validation issue this message represents.

G

get(int) - Method in class com.jgoodies.validation.ValidationResult
Returns the message at the specified position in this result.
getAssociatedResult(JComponent, Map<Object, ValidationResult>) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns the ValidationResult associated with the given component using the specified validation result key map, or null if the component has no message key set, or ValidationResult.EMPTY if the key map contains no result for the component.
getCheckIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a check icon useful to indicate good vs.
getCollapsedValidationResult() - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Returns the collapsed validation result, i.
getElementAt(int) - Method in class com.jgoodies.validation.view.ValidationResultListAdapter
Returns the validation result message at the given index.
getErrorBackground() - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns the error background color used to mark components that have an associated validation error.
getErrorIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a default error icon useful to indicate validation errors.
getErrors() - Method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable List of the validation messages that indicate errors.
getExpandedValidationResult() - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Returns the concatenation of all validation results that are held by this container.
getIcon(Severity) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns the warning icon for warnings, the error icon for errors and null otherwise.
getInfoIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a default information icon useful to indicate input hints.
getInputHint(JComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns the component's input hint that is stored in a client property.
getMandatoryBackground() - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns a default background color that can be used as the component background for components with mandatory content.
getMandatoryBorder() - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Lazily creates and returns a Border instance that is used to indicate that a component's content is mandatory.
getMandatoryForeground() - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns a default foreground color that can be used as the component foreground for components with mandatory content.
getMessageKeys(JComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns the message key that has been set to associate the given component with a set of ValidationMessages.
getMessages() - Method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable List of all validation messages.
getMessagesText() - Method in class com.jgoodies.validation.ValidationResult
Returns a string representation of the message list.
getRelativeCalendar(int) - Static method in class com.jgoodies.validation.util.ValidationUtils
Computes the day that has the given offset in days to today and returns it as an instance of Calendar.
getRelativeCalendar(Calendar, int) - Static method in class com.jgoodies.validation.util.ValidationUtils
Computes the day that has the given offset in days from the specified from date and returns it as an instance of Calendar.
getRelativeDate(int) - Static method in class com.jgoodies.validation.util.ValidationUtils
Computes the day that has the given offset in days to today and returns it as an instance of Date.
getResult() - Method in class com.jgoodies.validation.extras.DelayedValidationResultModel
Returns the subject's value or in case of a pending commit, the pending new value.
getResult() - Method in class com.jgoodies.validation.util.DefaultValidationResultModel
Returns this model's validation result.
getResult() - Method in class com.jgoodies.validation.util.PropertyValidationSupport
Returns the default ValidationResult.
getResult() - Method in interface com.jgoodies.validation.ValidationResultModel
Returns this model's validation result which must be non-null.
getSeverity() - Method in class com.jgoodies.validation.util.AbstractValidationResultModel
Looks up and returns the severity of the validation result, one of error, warning, or null.
getSeverity() - Method in class com.jgoodies.validation.ValidationResult
Returns the highest severity of this result's messages, Severity.OK if there are no messages.
getSeverity() - Method in interface com.jgoodies.validation.ValidationResultModel
Looks up and returns the Severity of this model's validation result, one of Severity.ERROR, Severity.WARNING, or Severity.OK.
getSeverity(JComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns the component's Severity if it has been set before.
getSize() - Method in class com.jgoodies.validation.view.ValidationResultListAdapter
Returns the number of validation result messages.
getSmallErrorIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a small default error icon useful to indicate validation errors attached to UI components.
getSmallIcon(Severity) - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns the small warning icon for warnings, the small error icon for errors and null otherwise.
getSmallInfoIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a small default information icon useful to indicate input hints.
getSmallWarningIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a small default warning icon useful to indicate validation warnings attached to UI components.
getValidationResultModel() - Method in interface com.jgoodies.validation.ValidationResultModelProvider
Returns this provider's validation result model.
getWarningBackground() - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns the warning background color used to mark components that have an associated validation warning.
getWarningIcon() - Static method in class com.jgoodies.validation.view.ValidationResultViewFactory
Returns a default warnings icon useful to indicate validation warnings.
getWarnings() - Method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable List of the validation messages that indicate warnings.
getWrappedComponentTree(ValidationResultModel, JComponent) - Static method in class com.jgoodies.validation.extras.IconFeedbackPanel
Wraps the components in the given component tree with instances of IconFeedbackPanel where necessary.

H

hasBoundedLength(String, int, int) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the length of the given string is in the bounds as specified by the interval [min, max].
hasError(JComponent, ValidationResult) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Checks and answers if the specified component is associated with an error message in the given validation result.
hasErrors() - Method in class com.jgoodies.validation.util.AbstractValidationResultModel
Checks and answers whether the validation result has errors.
hasErrors() - Method in class com.jgoodies.validation.ValidationResult
Checks and answers whether this validation result contains a message of type ERROR.
hasErrors() - Method in interface com.jgoodies.validation.ValidationResultModel
Checks and answers whether this model's validation result has errors.
hashCode() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns the hash code value for this validation message.
hashCode() - Method in class com.jgoodies.validation.message.SimpleValidationMessage
Returns the hash code value for this validation message.
hashCode() - Method in class com.jgoodies.validation.ValidationResult
Returns the hash code value for this validation result.
hasMaximumLength(String, int) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string is shorter than the specified maximum length.
hasMessages() - Method in class com.jgoodies.validation.util.AbstractValidationResultModel
Checks and answers whether the validation result has messages.
hasMessages() - Method in class com.jgoodies.validation.ValidationResult
Checks and answers whether this validation result has messages or not.
hasMessages() - Method in interface com.jgoodies.validation.ValidationResultModel
Checks and answers whether this model's validation result has messages.
hasMinimumLength(String, int) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string has at least the specified minimum length.
hasWarning(JComponent, ValidationResult) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Checks and answers if the specified component is associated with a warning message in the given validation result.
hasWarnings() - Method in class com.jgoodies.validation.ValidationResult
Checks and answers whether this validation result contains a message of type WARNING.

I

IconFeedbackPanel - Class in com.jgoodies.validation.extras
Can display validation feedback icons "over" a content panel.
IconFeedbackPanel(ValidationResultModel, JComponent) - Constructor for class com.jgoodies.validation.extras.IconFeedbackPanel
Creates an IconFeedbackPanel on the given ValidationResultModel using the specified content panel.
isAlpha(String) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string contains only unicode letters.
isAlphanumeric(String) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string contains only unicode letters or digits.
isAlphanumericSpace(String) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string contains only unicode letters or digits or space (' ').
isAlphaSpace(String) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string contains only unicode letters and space (' ').
isEmpty() - Method in class com.jgoodies.validation.ValidationResult
Checks and answers whether this validation result contains no messages.
isExpanded() - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Returns if this container is in expanded or collapsed state.
isFutureDay(Date) - Static method in class com.jgoodies.validation.util.ValidationUtils
Determines and answers if the day of the given Date is in the future.
isMandatory(JComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns if the component has been marked as mandatory.
isMandatoryAndBlank(JComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Returns if the component is a JTextComponent with blank content and has been marked as mandatory.
isModifiable() - Method in class com.jgoodies.validation.ValidationResult
Returns if this validation result is modifiable or not.
isNumeric(String) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string contains only unicode digits.
isNumericSpace(String) - Static method in class com.jgoodies.validation.util.ValidationUtils
Checks and answers if the given string contains only unicode digits or space (' ').
isPastDay(Date) - Static method in class com.jgoodies.validation.util.ValidationUtils
Determines and answers if the day of the given Date is in the past.
isToday(Date) - Static method in class com.jgoodies.validation.util.ValidationUtils
Determines and answers if the given Date is today.
isTomorrow(Date) - Static method in class com.jgoodies.validation.util.ValidationUtils
Determines and answers if the given Date is tomorrow.
isYesterday(Date) - Static method in class com.jgoodies.validation.util.ValidationUtils
Determines and answers if the given Date is yesterday.
iterator() - Method in class com.jgoodies.validation.ValidationResult
Returns an iterator over the validation messages in this result in proper sequence.

K

key() - Method in class com.jgoodies.validation.message.AbstractValidationMessage
Returns this message's association key that can be used to model a loose coupling between validation messages and views that present the validated data.
key() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns this message's aspect as association key.
key() - Method in interface com.jgoodies.validation.ValidationMessage
Returns this message's association key that can be used to model a loose coupling between validation messages and views that present the validated data.
keyMap() - Method in class com.jgoodies.validation.ValidationResult
Creates and returns an unmodifiable Map that maps the message keys of this validation result to unmodifiable sub results that share the key.

L

LimitedValidationResultModel - Class in com.jgoodies.validation.extras
An implementation of ValidationResultModel that wraps another ValidationResultModel to limit the number of reported ValidationMessages.
LimitedValidationResultModel(ValidationResultModel, int) - Constructor for class com.jgoodies.validation.extras.LimitedValidationResultModel
Constructs a LimitedValidationResultModel on the given ValidationResultModel.

M

max(Severity, Severity) - Static method in enum com.jgoodies.validation.Severity
Returns the higher of the given severities by comparing their ordinals.

P

property() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns a description of the validated object property, for example "zip code".
PROPERTY_ERRORS - Static variable in interface com.jgoodies.validation.ValidationResultModel
The name of the bound property that indicates whether there are errors.
PROPERTY_MESSAGES - Static variable in interface com.jgoodies.validation.ValidationResultModel
The name of the bound property that indicates whether there are messages.
PROPERTY_RESULT - Static variable in interface com.jgoodies.validation.ValidationResultModel
The name of the bound property for the validation result.
PROPERTY_SEVERITY - Static variable in interface com.jgoodies.validation.ValidationResultModel
The name of the bound property for the validation result severity.
propertyChange(PropertyChangeEvent) - Method in class com.jgoodies.validation.view.ValidationResultViewFactory.MessageStateChangeHandler
The ValidationResult's 'messages' property has changed.
PROPERTYNAME_ERRORS - Static variable in interface com.jgoodies.validation.ValidationResultModel
Deprecated.
PROPERTYNAME_EXPANDED - Static variable in class com.jgoodies.validation.util.ValidationResultModelContainer
The name of the bound read-write property for the expansion state.
PROPERTYNAME_MESSAGES - Static variable in interface com.jgoodies.validation.ValidationResultModel
PROPERTYNAME_RESULT - Static variable in interface com.jgoodies.validation.ValidationResultModel
Deprecated.
PROPERTYNAME_SEVERITY - Static variable in interface com.jgoodies.validation.ValidationResultModel
PropertyValidationMessage - Class in com.jgoodies.validation.message
An implementation of ValidationMessage that holds a text message, the validated object (target), a descriptions of the validated property, and a description of the role this object takes in the validation context.
PropertyValidationMessage(String, Object, String, String) - Constructor for class com.jgoodies.validation.message.PropertyValidationMessage
Constructs a PropertyValidationMessage of type warning for the given text, subject, role description and property description.
PropertyValidationMessage(Severity, String, Object, String, String) - Constructor for class com.jgoodies.validation.message.PropertyValidationMessage
Constructs a PropertyValidationMessage for the given text, subject, role description and property description.
PropertyValidationSupport - Class in com.jgoodies.validation.util
A utility class that minimizes the effort to create instances of PropertyValidationMessage in validation code.
PropertyValidationSupport(Object, String) - Constructor for class com.jgoodies.validation.util.PropertyValidationSupport
Constructs a PropertyValidationSupport instance for the given validation target and its validation role.
PropertyValidationSupport(Severity, Object, String) - Constructor for class com.jgoodies.validation.util.PropertyValidationSupport
Constructs a PropertyValidationSupport instance for the given validation target and its validation role.
PropertyValidationSupport(ValidationResult, Severity, Object, String) - Constructor for class com.jgoodies.validation.util.PropertyValidationSupport
Constructs a PropertyValidationSupport instance for the given default result, default severity, validation target and the given validation role.

R

remove(ValidationResultModel) - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Removes the given ValidationResultModel from this container's list of children.
role() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns a description of the role of the validated object.

S

setErrorBackground(JTextComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Sets the text component's background to a color that shall indicate that the component's content has is invalid with error severity.
setExpanded(boolean) - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Sets the container state to expanded or collapsed.
setInputHint(JComponent, Object) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Sets the input hint for the given component.
setKey(Object) - Method in class com.jgoodies.validation.message.AbstractValidationMessage
Sets the given object as new association key.
setMandatory(JComponent, boolean) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Marks the given component as mandatory or optional.
setMandatoryBackground(JTextComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Sets the text component's background to a color that shall indicate that the component's content is mandatory.
setMandatoryBorder(JTextComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Sets the text component's border to use a new border that shall indicate that the component's content is mandatory.
setMessageKey(JComponent, Object) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Associates the given component with the specified message key.
setMessageKeys(JComponent, Object...) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Associates the given component with the specified message keys.
setResult(ValidationResult) - Method in class com.jgoodies.validation.extras.DelayedValidationResultModel
Sets the given new value after this model's delay.
setResult(ValidationResult) - Method in class com.jgoodies.validation.util.DefaultValidationResultModel
Sets a new validation result and notifies all registered listeners about changes of the result itself and the properties for severity, errors and messages.
setResult(ValidationResult) - Method in class com.jgoodies.validation.util.ValidationResultModelContainer
Rejects to set a new validation result.
setResult(ValidationResult) - Method in interface com.jgoodies.validation.ValidationResultModel
Sets a new non-null validation result and notifies all registered listeners, if the result changed.
setSeverity(JComponent, Severity) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Marks the given component with the specified severity.
setWarningBackground(JTextComponent) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Sets the text component's background to a color that shall indicate that the component's content is invalid with warning severity.
severity() - Method in class com.jgoodies.validation.message.AbstractValidationMessage
Returns this message's severity, either error or warning.
Severity - Enum in com.jgoodies.validation
An enumeration for the severities used in ValidationMessage.
severity() - Method in interface com.jgoodies.validation.ValidationMessage
Returns this message's severity: error or warning.
SimpleValidationMessage - Class in com.jgoodies.validation.message
A minimal implementation of ValidationMessage that just holds a text.
SimpleValidationMessage(String) - Constructor for class com.jgoodies.validation.message.SimpleValidationMessage
Constructs a simple warning message for the given text.
SimpleValidationMessage(String, Severity) - Constructor for class com.jgoodies.validation.message.SimpleValidationMessage
Constructs a simple validation message for the given text and message severity.
SimpleValidationMessage(String, Severity, Object) - Constructor for class com.jgoodies.validation.message.SimpleValidationMessage
Constructs a simple validation message for the given text, message severity, and message key.
size() - Method in class com.jgoodies.validation.ValidationResult
Returns the number of messages in this result.
subResult(int, int) - Method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable view of the portion of this result between the specified fromIndex, inclusive, and toIndex, exclusive.
subResult(Object) - Method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable sub result of this result that consists of all messages that share the specified message key.
subResult(Object[]) - Method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable sub result of this result that consists of all messages that share the specified message keys.

T

target() - Method in class com.jgoodies.validation.message.PropertyValidationMessage
Returns the validated object that holds the validated property, for example an address object.
text() - Method in class com.jgoodies.validation.message.AbstractValidationMessage
Returns this validation message's text.
toString() - Method in class com.jgoodies.validation.message.AbstractValidationMessage
Returns a string representation of this validation message.
toString() - Method in class com.jgoodies.validation.ValidationResult
Returns a string representation intended for debugging purposes.

U

unmodifiableResult(ValidationResult) - Static method in class com.jgoodies.validation.ValidationResult
Returns an unmodifiable view of the given ValidationResult.
updateComponentTreeMandatoryAndBlankBackground(Container) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Traverses a component tree and sets mandatory backgrounds to text components that have blank content and have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent, boolean) before.
updateComponentTreeMandatoryBackground(Container) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Traverses a component tree and sets mandatory backgrounds to text components that have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent, boolean) before.
updateComponentTreeMandatoryBorder(Container) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Traverses a component tree and sets mandatory borders to text components that have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent, boolean) before.
updateComponentTreeSeverity(Container, ValidationResult) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Traverses a component tree and sets the severity for all text components.
updateComponentTreeSeverityBackground(Container, ValidationResult) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Traverses a component tree and sets the text component backgrounds according to the severity of an associated validation result - if any.

V

Validatable - Interface in com.jgoodies.validation
Describes an object that can be validated, or in other words a self-validatable object.
validate() - Method in interface com.jgoodies.validation.Validatable
Validates this object and returns a ValidationResult.
validate(T) - Method in interface com.jgoodies.validation.Validator
Validates the given validation target and returns the validation result as an instance of ValidationResult.
validateTree() - Method in class com.jgoodies.validation.extras.IconFeedbackPanel
Recursively descends the container tree and recomputes the layout for any subtrees marked as needing it (those marked as invalid).
ValidationComponentUtils - Class in com.jgoodies.validation.view
Consists exclusively of static methods that provide convenience behavior for operating on components that present validation data.
ValidationComponentUtils.Visitor - Interface in com.jgoodies.validation.view
Describes visitors that visit a component tree.
ValidationMessage - Interface in com.jgoodies.validation
Describes validation messages as used by the JGoodies Validation framework.
ValidationResult - Class in com.jgoodies.validation
Describes a validation result as a list of ValidationMessages.
ValidationResult() - Constructor for class com.jgoodies.validation.ValidationResult
Constructs an empty modifiable ValidationResult.
ValidationResultListAdapter - Class in com.jgoodies.validation.view
Converts a ValidationResultModel into a ListModel.
ValidationResultListAdapter(ValidationResultModel) - Constructor for class com.jgoodies.validation.view.ValidationResultListAdapter
Constructs a ValidationResultListAdapter that converts the given model into a ListModel.
ValidationResultModel - Interface in com.jgoodies.validation
Describes a model that holds a ValidationResult and provides bound read-only properties for the result, severity, error and messages state.
ValidationResultModelContainer - Class in com.jgoodies.validation.util
A validation result model that holds multiple validation results.
ValidationResultModelContainer(ValidationMessage) - Constructor for class com.jgoodies.validation.util.ValidationResultModelContainer
Constructs a ValidationResultModelContainer using the given validation message for the collapsed state.
ValidationResultModelProvider - Interface in com.jgoodies.validation
Describes objects that provide ValidationResultModels.
ValidationResultViewFactory - Class in com.jgoodies.validation.view
A factory class that vends views that present the state and contents of ValidationResults.
ValidationResultViewFactory.MessageStateChangeHandler - Class in com.jgoodies.validation.view
Sets the component visible iff the validation result has messages.
ValidationResultViewFactory.MessageStateChangeHandler(Component) - Constructor for class com.jgoodies.validation.view.ValidationResultViewFactory.MessageStateChangeHandler
Constructs a MessageStateHanlder that updates the visibility of the given Component.
ValidationUtils - Class in com.jgoodies.validation.util
Consists exclusively of static methods for validating input values by testing and comparing single and multiple values.
Validator<T> - Interface in com.jgoodies.validation
Describes objects that can validate other objects.
valueOf(String) - Static method in enum com.jgoodies.validation.Severity
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.jgoodies.validation.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
visit(JComponent, Map<Object, ValidationResult>) - Method in interface com.jgoodies.validation.view.ValidationComponentUtils.Visitor
Visits the given component using the specified key map, that maps message keys to associated validation subresults.
visitComponentTree(Container, Map<Object, ValidationResult>, ValidationComponentUtils.Visitor) - Static method in class com.jgoodies.validation.view.ValidationComponentUtils
Traverses the component tree starting at the given container and invokes the given visitor's #visit method on each instance of JTextComponent.
A C D E F G H I K L M P R S T U V 

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