Package | Description |
---|---|
net.sf.jguiraffe.examples.tutorial.createfile | |
net.sf.jguiraffe.examples.tutorial.mainwnd | |
net.sf.jguiraffe.gui.app |
In this package the main application class can be found.
|
net.sf.jguiraffe.gui.builder |
The main package of the builder.
|
net.sf.jguiraffe.gui.builder.components |
This package defines the part of the builder that deals with components.
|
net.sf.jguiraffe.gui.builder.components.tags |
A package with tag handler classes for creating GUI components.
|
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 |
---|---|
Object |
FileSizeTransformer.transform(Object o,
TransformerContext ctx)
Performs the transformation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ApplicationContext
Definition of an interface for accessing application global information.
|
Modifier and Type | Class and Description |
---|---|
class |
ApplicationContextImpl
A default implementation of the
ApplicationContext interface. |
Modifier and Type | Method and Description |
---|---|
TransformerContext |
ApplicationBuilderData.getTransformerContext()
Returns the transformer context.
|
Modifier and Type | Method and Description |
---|---|
void |
ApplicationBuilderData.setTransformerContext(TransformerContext transformerContext)
Sets the transformer context.
|
Modifier and Type | Method and Description |
---|---|
TransformerContext |
BuilderData.getTransformerContext()
Returns the transformer context to be used by the builder.
|
Modifier and Type | Method and Description |
---|---|
TransformerContext |
ComponentBuilderData.getTransformerContext()
Returns the transformer context.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentBuilderData.initializeForm(TransformerContext tctx,
BindingStrategy strategy)
Initializes the main form to be maintained by the
ComponentBuilderData
object. |
Modifier and Type | Method and Description |
---|---|
protected TransformerContext |
TransformerBaseTag.getTransformerContext()
Returns a
TransformerContext for the managed bean. |
Modifier and Type | Method and Description |
---|---|
protected void |
StaticTextDataTransformer.convertProperty(Object o,
StaticTextDataImpl data,
TransformerContext ctx)
Performs the transformation if the object to be converted must be set as
a property of a
StaticTextData object. |
protected void |
StaticTextDataTransformer.populate(StaticTextDataImpl data,
TransformerContext ctx)
Fills the specified data object with default values.
|
Object |
StaticTextDataTransformer.transform(Object o,
TransformerContext ctx)
The main method of the
Transformer interface. |
Modifier and Type | Method and Description |
---|---|
TransformerContext |
Form.getTransformerContext()
Returns the transformer context.
|
TransformerContext |
DefaultValidatorWrapper.getTransformerContext()
Returns the
TransformerContext to use. |
TransformerContext |
DefaultTransformerWrapper.getTransformerContext()
Returns the transformer context to use.
|
Constructor and Description |
---|
DefaultTransformerWrapper(Transformer t,
TransformerContext ctx)
Creates a new instance of
DefaultTransformerWrapper and
initializes it. |
DefaultValidatorWrapper(Validator v,
TransformerContext ctx)
Creates a new instance of
DefaultValidatorWrapper and initializes
it. |
Form(TransformerContext ctx,
BindingStrategy strat)
Creates a new instance of
Form and initializes it with all
required helper objects. |
Modifier and Type | Class and Description |
---|---|
class |
TransformerContextPropertiesWrapper
A specialized implementation of the
TransformerContext
interface that allows wrapping an existing context and extending its
properties. |
Modifier and Type | Method and Description |
---|---|
protected TransformerContext |
ChainValidator.getContextForChildValidator(int index,
TransformerContext ctx)
Returns the
TransformerContext to be used for the
specified child validator. |
TransformerContext |
TransformerContextPropertiesWrapper.getWrappedContext()
Returns the wrapped context.
|
Modifier and Type | Method and Description |
---|---|
protected Pattern |
RegexValidator.createPattern(TransformerContext ctx)
Creates a new
Pattern object. |
static ValidationResult |
DefaultValidationResult.createValidationErrorResult(TransformerContext context,
String key,
Object... params)
Creates a
ValidationResult object with the specified error
message. |
static ValidationMessage |
DefaultValidationResult.createValidationMessage(TransformerContext context,
String key,
Object... params)
Creates a
ValidationMessage object for the specified error
message. |
protected boolean |
ChainValidator.doShortEvaluation(TransformerContext ctx)
Checks whether short evaluation should be performed by the
isValid() method. |
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 TransformerContext |
ChainValidator.getContextForChildValidator(int index,
TransformerContext ctx)
Returns the
TransformerContext to be used for the
specified child validator. |
protected ValidationMessageLevel |
DefaultValidationMessageHandler.getMessageLevel(TransformerContext context)
Determines the
ValidationMessageLevel for the validation messages
produced by this object. |
protected Pattern |
RegexValidator.getPattern(TransformerContext ctx)
Returns a
Pattern object to be used for the validation operation. |
ValidationMessage |
ValidationMessageHandler.getValidationMessage(TransformerContext context,
String key,
Object... params)
Returns a
ValidationMessage object for the specified key. |
ValidationMessage |
DefaultValidationMessageHandler.getValidationMessage(TransformerContext context,
String key,
Object... params)
Returns a validation message.
|
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.
|
protected boolean |
RegexValidator.overridesProperties(TransformerContext ctx)
Tests whether properties in the specified
TransformerContext
override properties of this object. |
Object |
Transformer.transform(Object o,
TransformerContext ctx)
The main method of the
Transformer interface. |
Object |
ToStringTransformer.transform(Object o,
TransformerContext ctx)
Transforms the specified object.
|
Object |
NumberTransformerBase.transform(Object o,
TransformerContext ctx)
Transforms the specified object to the target format.
|
Object |
DummyTransformer.transform(Object o,
TransformerContext ctx)
Transforms the passed in object.
|
Object |
DateTransformerBase.transform(Object o,
TransformerContext ctx)
Transforms the specified object.
|
protected Object |
ToStringTransformer.transformDate(Date dt,
TransformerContext ctx)
Transforms a date object.
|
protected Object |
ToStringTransformer.transformDecimalNumber(Object number,
TransformerContext ctx)
Transforms a decimal number object.
|
protected Object |
ToStringTransformer.transformIntegerNumber(Object number,
TransformerContext ctx)
Transforms an integer number object.
|
protected Object |
ToStringTransformer.transformNull(TransformerContext ctx)
Transforms a null object.
|
protected Object |
ToStringTransformer.transformObject(Object o,
TransformerContext ctx)
Transforms an arbitrary object.
|
protected Object |
DateTransformerBase.transformToDate(Object o,
TransformerContext ctx)
Performs a transformation to a date object.
|
protected T |
NumberTransformerBase.transformToNumber(Object o,
TransformerContext ctx,
NumberFormat fmt)
Transforms the given object into a number.
|
protected Object |
DateTransformerBase.transformToString(Date dt,
TransformerContext ctx)
Performs a transformation from a date to string.
|
Constructor and Description |
---|
TransformerContextPropertiesWrapper(TransformerContext orgCtx,
Map<String,Object> newProps)
Creates a new instance of
TransformerContextPropertiesWrapper and initializes it. |
Copyright © 2016 The JGUIraffe Team. All rights reserved.