Package | Description |
---|---|
net.sf.jguiraffe.examples.tutorial.viewset | |
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.table |
A package with tag handler classes for creating table components.
|
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.
|
Modifier and Type | Method and Description |
---|---|
FormValidatorResults |
ViewSettingsFormValidator.isValid(Form form)
Validates the specified
Form instance. |
Modifier and Type | Method and Description |
---|---|
Form |
ComponentBuilderData.getContextForm()
Returns the form of the current form context.
|
Form |
ComponentBuilderData.getForm()
Returns the
Form object. |
Form |
ComponentBuilderData.popFormContext()
Removes the outer most form context.
|
Form |
ComponentBuilderData.popFormContext(Object source)
Removes the outer most form context passing in information about the
responsible source.
|
Modifier and Type | Method and Description |
---|---|
void |
FormContextListener.formContextClosed(Form form,
Object source)
Notifies this object that the current form context was closed.
|
void |
FormContextListener.formContextCreated(Form form,
Object source)
Notifies this object that a new form context was created.
|
FormEventManager |
ComponentBuilderData.getEventManagerForForm(Form f)
Returns the event manager for the specified form.
|
void |
ComponentBuilderData.pushFormContext(Form f)
Installs a new form context for the specified form.
|
void |
ComponentBuilderData.pushFormContext(Form form,
Object source)
Installs a new form context for the specified form and passes information
about the responsible source.
|
Modifier and Type | Method and Description |
---|---|
Form |
TableTag.getRowEditForm()
Returns the form with the editors defined for this table.
|
Form |
TableTag.getRowRenderForm()
Returns the form with the renderers defined for this table.
|
protected Form |
ColumnRendererTag.getTableForm(TableTag tabTag)
Returns the form affected by this tag from the specified table tag.
|
protected Form |
ColumnEditorTag.getTableForm(TableTag tabTag)
Returns the form affected by this tag from the specified table tag.
|
protected abstract Form |
ColumnComponentTag.getTableForm(TableTag tabTag)
Returns the form of the hosting table that stores the components managed
by this tag.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TableEditorValidationHandler.validationPerformed(Object table,
Form editForm,
TableTag tableTag,
FormValidatorResults results,
int row,
int col)
Validation has been performed for a column editor of a table.
|
boolean |
DefaultTableEditorValidationHandler.validationPerformed(Object table,
Form editForm,
TableTag tableTag,
FormValidatorResults results,
int row,
int col)
Reacts on a validation.
|
Modifier and Type | Method and Description |
---|---|
Form |
FormController.getForm()
Returns the current form.
|
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. |
static ValidationMessage |
DefaultFormValidatorResults.createValidationMessage(Form form,
String key,
Object... params)
Obtains a
ValidationMessage object for the specified key. |
protected String |
FormValidationMessageFormat.fetchDisplayName(Form form,
String field)
Determines the display name of the given field.
|
String |
FormValidationMessageFormat.format(FormValidatorResults res,
Form form)
The main formatting method.
|
String |
FormValidationMessageFormat.formatField(FormValidatorResults res,
Form form,
String field)
Transforms all validation messages found in the passed
FormValidatorResults object for the given field name into a text
according to the values of the current templates. |
FormValidatorResults |
FormValidator.isValid(Form form)
Validates the specified form.
|
protected void |
FormValidationMessageFormat.processMessages(StringBuilder buf,
org.apache.commons.lang.text.StrSubstitutor subst,
FormValidatorResults res,
Form form,
String field,
Map<String,String> variables)
Applies the template for the error messages to all messages available for
the current field.
|
protected void |
FormValidationMessageFormat.setUpVariablesForField(Map<String,String> vars,
FormValidatorResults res,
Form form,
String field)
Initializes the variables for the specified field of the validation
results object.
|
protected void |
FormValidationMessageFormat.setUpVariablesForMessage(Map<String,String> vars,
FormValidatorResults res,
Form form,
String field,
String msg,
int index)
Initializes the variables for an error message.
|
static Map<String,ValidationResult> |
DefaultFormValidatorResults.validResultMapForForm(Form form)
Creates a
java.util.Map with validation information for all
fields of the specified Form . |
static DefaultFormValidatorResults |
DefaultFormValidatorResults.validResultsForForm(Form form)
Creates a valid
DefaultFormValidatorResults for the fields of the
specified Form . |
Copyright © 2016 The JGUIraffe Team. All rights reserved.