Package | Description |
---|---|
net.sf.jguiraffe.examples.tutorial.createfile | |
net.sf.jguiraffe.gui.builder.window.ctrl |
This package contains classes and interfaces for the implementation of form
controllers.
|
net.sf.jguiraffe.gui.forms |
A package for dealing with forms.
|
net.sf.jguiraffe.transform |
The transform package contains interfaces and classes for transforming
and validating data.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult |
UniqueFileNameValidator.isValid(Object o,
TransformerContext ctx)
Performs the validation.
|
Modifier and Type | Method and Description |
---|---|
static FieldValidationStatus |
FieldValidationStatus.getStatus(ValidationResult vres,
boolean visited)
Returns the
FieldValidationStatus instance that corresponds to
the given ValidationResult and visited status. |
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
DefaultFormValidatorResults.createValidationErrorResult(Form form,
String key,
Object... params)
Creates a
ValidationResult object with an error message for a
validation message. |
ValidationResult |
FormValidatorResults.getResultsFor(String field)
Returns the
ValidationResult object for the specified
field. |
ValidationResult |
DefaultFormValidatorResults.getResultsFor(String field)
Returns the validation results for the specified field or null if
this field does not exist.
|
ValidationResult |
ValidatorWrapper.isValid(Object o)
Validates the specified object.
|
ValidationResult |
DefaultValidatorWrapper.isValid(Object o)
Tests whether the specified object is valid.
|
ValidationResult |
FieldHandler.validate(ValidationPhase phase)
Validates this field either at the field or the form level.
|
ValidationResult |
DefaultFieldHandler.validate(ValidationPhase phase)
Performs validation for the specified phase and returns the results.
|
protected ValidationResult |
DefaultFieldHandler.validateFieldData(Object data)
Performs a form level validation of this field.
|
protected ValidationResult |
DefaultFieldHandler.validateFieldLevel()
Performs validation on the field level.
|
protected ValidationResult |
DefaultFieldHandler.validateFormLevel()
Performs validation on the form level.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,ValidationResult> |
DefaultFormValidatorResults.validResultMapForForm(Form form)
Creates a
java.util.Map with validation information for all
fields of the specified Form . |
Constructor and Description |
---|
DefaultFormValidatorResults(Map<String,? extends ValidationResult> fieldData)
Creates a new instance of
DefaultFormValidatorResults and
initializes it with a map holding information about fields and their
validation status. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultValidationResult
A default implementation of the
ValidationResult interface. |
Modifier and Type | Field and Description |
---|---|
static ValidationResult |
DefaultValidationResult.VALID
Constant for a validation result object for a successful validation.
|
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
DefaultValidationResult.createValidationErrorResult(TransformerContext context,
String key,
Object... params)
Creates a
ValidationResult object with the specified error
message. |
protected ValidationResult |
TimeTransformer.errorResult(String errorKey,
TransformerContext ctx,
Object... params)
Returns a validation result object with an error message.
|
protected ValidationResult |
NumberTransformerBase.errorResult(String errorKey,
TransformerContext ctx,
Object... params)
Creates a validation result if an error occurred.
|
protected ValidationResult |
DateTransformerBase.errorResult(String errorKey,
TransformerContext ctx,
Object... params)
Creates a validation result if an error occurred.
|
protected ValidationResult |
DateTransformerBase.isDateValid(Date date,
DateFormat fmt,
TransformerContext ctx,
org.apache.commons.configuration.Configuration config)
Checks the specified date.
|
protected ValidationResult |
NumberTransformerBase.isNumberValid(T n,
NumberFormat fmt,
TransformerContext ctx,
T min,
T max)
Validates an entered number.
|
ValidationResult |
Validator.isValid(Object o,
TransformerContext ctx)
Validates the passed in object.
|
ValidationResult |
RequiredValidator.isValid(Object o,
TransformerContext ctx)
Validates the passed in object.
|
ValidationResult |
RegexValidator.isValid(Object o,
TransformerContext ctx)
Performs the validation as described in the class comment.
|
ValidationResult |
NumberTransformerBase.isValid(Object o,
TransformerContext ctx)
Validates the specified object.
|
ValidationResult |
DummyTransformer.isValid(Object o,
TransformerContext ctx)
Performs validation.
|
ValidationResult |
DateTransformerBase.isValid(Object o,
TransformerContext ctx)
Validates the passed in object.
|
ValidationResult |
ChainValidator.isValid(Object o,
TransformerContext ctx)
Validates the passed in object.
|
static ValidationResult |
DefaultValidationResult.merge(ValidationResult vr1,
ValidationResult vr2)
Combines two validation result objects to a combined result.
|
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
DefaultValidationResult.merge(ValidationResult vr1,
ValidationResult vr2)
Combines two validation result objects to a combined result.
|
Copyright © 2016 The JGUIraffe Team. All rights reserved.