ch.sahits.model.java
Class JavaFormModelProvider

java.lang.Object
  extended by ch.sahits.model.java.JavaFormModelProvider

public class JavaFormModelProvider
extends java.lang.Object

This is the provider class to provide the GUI generator for a form

Since:
0.9.4
Author:
Andi Hotz

Constructor Summary
JavaFormModelProvider()
           
 
Method Summary
static IFormButton newButton()
          Create a new IFormButton
static IFormCheckbox newCheckbox()
          Create a new IFormCheckbox
static IFormCombo newDropDown()
          Create a new IFormCombo
static IFormFileUpload newFileUpload()
          Create a new IFormFileUpload
static IForm newForm()
          Create a new IForm
static IFormGroup newGroup()
          Create a new IFormGroup
static IFormHidden newHidden()
          Create new IFormHidden
static IFormImageButton newImageButton()
          Create new IFormImageButton
static IFormInput newInput()
          Create an new IFormInput
static IFormLabel newLabel()
          Create a new IFormLabel
static IFormList newList()
          Create new IFormList
static IFormPasswordInput newPasswordInput()
          Create new IFormPasswordInput
static IFormRadioButton newRadioButton()
          Create an new IFormRadioButton
static IFormResetButton newResetButton()
          Create new IFormResetButton
static IFormSubmitButton newSubmitButton()
          Create new IFormSubmitButton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFormModelProvider

public JavaFormModelProvider()
Method Detail

newForm

public static IForm newForm()
Create a new IForm

Returns:
new instance of IForm

newLabel

public static IFormLabel newLabel()
Create a new IFormLabel

Returns:
new instance of IFormLabel

newGroup

public static IFormGroup newGroup()
Create a new IFormGroup

Returns:
new instance of IFormGroup

newCheckbox

public static IFormCheckbox newCheckbox()
Create a new IFormCheckbox

Returns:
new instance of IFormCheckbox

newButton

public static IFormButton newButton()
Create a new IFormButton

Returns:
new instance of IFormButton

newDropDown

public static IFormCombo newDropDown()
Create a new IFormCombo

Returns:
new instance of IFormCombo

newInput

public static IFormInput newInput()
Create an new IFormInput

Returns:
new instance of IFormInput

newRadioButton

public static IFormRadioButton newRadioButton()
Create an new IFormRadioButton

Returns:
new instance of IFormRadioButton

newFileUpload

public static IFormFileUpload newFileUpload()
Create a new IFormFileUpload

Returns:
new instance of IFormFileUpload

newHidden

public static IFormHidden newHidden()
Create new IFormHidden

Returns:
new instance of IFormHidden

newList

public static IFormList newList()
Create new IFormList

Returns:
new instance of IFormList

newPasswordInput

public static IFormPasswordInput newPasswordInput()
Create new IFormPasswordInput

Returns:
new instance of IFormPasswordInput

newSubmitButton

public static IFormSubmitButton newSubmitButton()
Create new IFormSubmitButton

Returns:
new instance of IFormSubmitButton

newResetButton

public static IFormResetButton newResetButton()
Create new IFormResetButton

Returns:
new instance of IFormResetButton

newImageButton

public static IFormImageButton newImageButton()
Create new IFormImageButton

Returns:
new instance of IFormImageButton