Package | Description |
---|---|
com.jgoodies.validation |
Consists of the required validation framework core types.
|
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.util |
Contains optional validation helper classes and
default implementations.
|
com.jgoodies.validation.view |
Contains optional validation helper classes that assist in
presenting validation results.
|
Modifier and Type | Method and Description |
---|---|
ValidationResultModel |
ValidationResultModelProvider.getValidationResultModel()
Returns this provider's validation result model.
|
Modifier and Type | Class and Description |
---|---|
class |
DelayedValidationResultModel
A ValidationResultModel that defers changes for a specified delay.
|
class |
LimitedValidationResultModel
An implementation of
ValidationResultModel that wraps another
ValidationResultModel to limit the number of reported
ValidationMessage s. |
Modifier and Type | Method and Description |
---|---|
static JComponent |
IconFeedbackPanel.getWrappedComponentTree(ValidationResultModel model,
JComponent root)
Wraps the components in the given component tree with instances
of IconFeedbackPanel where necessary.
|
Constructor and Description |
---|
DelayedValidationResultModel(ValidationResultModel subject,
int delay)
Constructs a DelayedValidationResultModel for the given subject
ValidationResultModel and the specified Timer delay in milliseconds.
|
IconFeedbackPanel(ValidationResultModel model,
JComponent content)
Creates an IconFeedbackPanel on the given ValidationResultModel
using the specified content panel.
|
LimitedValidationResultModel(ValidationResultModel model,
int limit)
Constructs a
LimitedValidationResultModel
on the given ValidationResultModel. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValidationResultModel
An abstract class that minimizes the effort required to implement
the
ValidationResultModel interface. |
class |
DefaultValidationResultModel
A default implementation of the
ValidationResultModel interface
that holds a ValidationResult. |
class |
ValidationResultModelContainer
A validation result model that holds multiple validation results.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationResultModelContainer.add(ValidationResultModel resultModel)
Adds the given
ValidationResultModel to this container's list
of children and registers the container to listen for changes in the child. |
void |
ValidationResultModelContainer.remove(ValidationResultModel resultModel)
Removes the given
ValidationResultModel from this container's
list of children. |
Modifier and Type | Method and Description |
---|---|
static JLabel |
ValidationResultViewFactory.createReportIconAndTextLabel(ValidationResultModel model)
Creates and returns a label with icon and text that indicates
the validation state and displays the first message text
with the highest severity.
|
static JComponent |
ValidationResultViewFactory.createReportIconAndTextPane(ValidationResultModel model)
Creates and returns a transparent panel that consists of a report label
and a transparent report text area.
|
static JLabel |
ValidationResultViewFactory.createReportIconLabel(ValidationResultModel model)
Creates and returns an icon label that indicates the validation severity.
|
static JComponent |
ValidationResultViewFactory.createReportList(ValidationResultModel model)
Creates and returns a list that presents validation messages.
|
static JComponent |
ValidationResultViewFactory.createReportList(ValidationResultModel model,
Color backgroundColor)
Creates and returns a list wrapped in a scroll pane that presents
validation messages.
|
static JTextArea |
ValidationResultViewFactory.createReportTextArea(ValidationResultModel model)
Creates and returns a text area that is intended to show validation
messages.
|
static JTextArea |
ValidationResultViewFactory.createReportTextArea(ValidationResultModel model,
Color backgroundColor)
Creates and returns a text area that is intended to show validation
messages.
|
static JComponent |
ValidationResultViewFactory.createReportTextPane(ValidationResultModel model)
Creates and returns a text area wrapped by a scroll pane that is
intended to show validation messages.
|
static JComponent |
ValidationResultViewFactory.createReportTextPane(ValidationResultModel model,
Color backgroundColor)
Creates and returns a text area wrapped by a scroll pane that is
intended to show validation messages.
|
Constructor and Description |
---|
ValidationResultListAdapter(ValidationResultModel model)
Constructs a ValidationResultListAdapter that converts
the given model into a ListModel.
|
Copyright © 2003-2011 JGoodies Karsten Lentzsch. All Rights Reserved.