|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerWidget
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 ContainerWidget
s being the branches/forks, and the
Widget
s 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 |
---|
void addChild(Widget widget)
boolean hasChild(String id)
Widget getChild(String id)
Iterator getChildren()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |