|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to be implemented by Widgets which contain other widgets. So all
widgets together form a widget tree, with its root being the Form
widget, the ContainerWidgets being the branches/forks, and the
Widgets with values being the leaves.
| Field Summary |
| Fields inherited from interface org.apache.cocoon.forms.formmodel.Widget |
PATH_SEPARATOR |
| Method Summary | |
void |
addChild(Widget widget)
Adds a child widget. |
Widget |
getChild(String id)
Gets the child widget with the given id. |
Iterator |
getChildren()
|
boolean |
hasChild(String id)
Checks if there is a child widget with the given id. |
| Methods inherited from interface org.apache.cocoon.forms.formmodel.Widget |
addValidator, broadcastEvent, generateLabel, generateSaxFragment, getAttribute, getCombinedState, getDefinition, getForm, getFullName, getId, getLocation, getName, getParent, getRequestParameterName, getState, getValue, getWidget, initialize, isRequired, isValid, lookupWidget, readFromRequest, removeAttribute, removeValidator, setAttribute, setParent, setState, setValue, validate |
| Method Detail |
public void addChild(Widget widget)
public boolean hasChild(String id)
public Widget getChild(String id)
public Iterator getChildren()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||