Uses of Class
net.sf.jguiraffe.gui.forms.Form
-
Packages that use Form Package Description 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. -
-
Uses of Form in net.sf.jguiraffe.gui.builder.components
Methods in net.sf.jguiraffe.gui.builder.components that return Form Modifier and Type Method Description Form
ComponentBuilderData. getContextForm()
Returns the form of the current form context.Form
ComponentBuilderData. getForm()
Returns theForm
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.Methods in net.sf.jguiraffe.gui.builder.components with parameters of type Form Modifier and Type Method 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. -
Uses of Form in net.sf.jguiraffe.gui.builder.components.tags.table
Methods in net.sf.jguiraffe.gui.builder.components.tags.table that return Form Modifier and Type Method 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 abstract Form
ColumnComponentTag. getTableForm(TableTag tabTag)
Returns the form of the hosting table that stores the components managed by this tag.protected Form
ColumnEditorTag. getTableForm(TableTag tabTag)
Returns the form affected by this tag from the specified table tag.protected Form
ColumnRendererTag. getTableForm(TableTag tabTag)
Returns the form affected by this tag from the specified table tag.Methods in net.sf.jguiraffe.gui.builder.components.tags.table with parameters of type Form Modifier and Type Method Description boolean
DefaultTableEditorValidationHandler. validationPerformed(Object table, Form editForm, TableTag tableTag, FormValidatorResults results, int row, int col)
Reacts on a validation.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. -
Uses of Form in net.sf.jguiraffe.gui.builder.window.ctrl
Methods in net.sf.jguiraffe.gui.builder.window.ctrl that return Form Modifier and Type Method Description Form
FormController. getForm()
Returns the current form. -
Uses of Form in net.sf.jguiraffe.gui.forms
Methods in net.sf.jguiraffe.gui.forms with parameters of type Form Modifier and Type Method Description static ValidationResult
DefaultFormValidatorResults. createValidationErrorResult(Form form, String key, Object... params)
Creates aValidationResult
object with an error message for a validation message.static ValidationMessage
DefaultFormValidatorResults. createValidationMessage(Form form, String key, Object... params)
Obtains aValidationMessage
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 passedFormValidatorResults
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 ajava.util.Map
with validation information for all fields of the specifiedForm
.static DefaultFormValidatorResults
DefaultFormValidatorResults. validResultsForForm(Form form)
Creates a validDefaultFormValidatorResults
for the fields of the specifiedForm
.
-