org.formaria.awt
Class FormBuilder

java.lang.Object
  extended by org.formaria.builder.AriaBuilder
      extended by org.formaria.awt.FormBuilder
All Implemented Interfaces:
PageLoader

public class FormBuilder
extends AriaBuilder

A builder of forms from an XML description. Extends AriaBuilder by adding support for repeated elements.

Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.

$Revision: 1.5 $


Field Summary
 
Fields inherited from class org.formaria.builder.AriaBuilder
adapter, attributeSets, checkBoxGroup, componentFactory, currentAttributes, currentProject, customizer, DEFAULT_PAGE_CLASS, evaluator, eventHandler, includeFileName, layoutHelper, menuBar, packageName, page, rootPage, secondaryClassloader, validationFactories
 
Constructor Summary
FormBuilder(Project project)
           
 
Method Summary
protected  ValidationFactory getValidationFactory(java.lang.String validationFileName)
          Construct a validation factory appropriate to this builder
 
Methods inherited from class org.formaria.builder.AriaBuilder
addBinding, addBindings, addComponent, addComponents, addEvent, addEvents, addHandler, addMenu, addScripts, addValidations, evaluateAttribute, evaluateAttributeAsString, getCurrentAttributes, getFactoryBinding, getInt, getMenuItem, getType, init, insertAttributes, loadAttributeSet, loadClass, loadFrames, loadOtherElement, loadPage, loadSingleTarget, popIncludeReference, popRepeatReference, pushIncludeReference, pushRepeatReference, readPage, setAttributeEvaluator, setClassLoader, setComponentAttributes, setPackageName, setPage, setPageAttribute, setPageExtension, setPageName, setResourceBundle, setupPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormBuilder

public FormBuilder(Project project)
Method Detail

getValidationFactory

protected ValidationFactory getValidationFactory(java.lang.String validationFileName)
Construct a validation factory appropriate to this builder

Overrides:
getValidationFactory in class AriaBuilder
Parameters:
validationFileName - the validations file to read
Returns:
the validation factory