|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IForm
Definition of a form with all its contents.
A Form is clonable so it is easier to manipulate the
form to conform to various constraints that might be put
up by the generation methods.
| Method Summary | |
|---|---|
void |
add(IFormElement element)
Add an element at the last position of the list |
void |
add(IFormElement element,
int index)
Add an element at position indexof the list. |
java.lang.Object |
clone()
Increase the visibility of clone |
java.util.List<IFormElement> |
elements()
Retrieve a list of all elements in a form |
IFormGroup |
findGroup(java.lang.String groupName)
Retrieve the group with the name groupName. |
java.util.List<IFormElement> |
flatten()
Flatten all elements of the group into a list |
EFormLayout |
getLayout()
Retrieve the layout of the form |
void |
printTree()
Print out the form hierarchical elements |
void |
setLayout(EFormLayout layout)
Set the form layout |
| Method Detail |
|---|
java.util.List<IFormElement> elements()
void add(IFormElement element)
element - to be added
void add(IFormElement element,
int index)
indexof the list.
All succeeding elements (including the on at position index
are moved by one position.
element - to be addedindex - where the element should be addedEFormLayout getLayout()
void setLayout(EFormLayout layout)
layout - IFormGroup findGroup(java.lang.String groupName)
groupName.
The group is searched in the elements of the form or
within the group elements of the form.
groupName - name of the group
IFormGroup element or null if nothing is foundvoid printTree()
java.util.List<IFormElement> flatten()
java.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||