|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by WidgetDefinitions for Widgets which contain other widgets.
Method Summary | |
void |
addWidgetDefinition(WidgetDefinition definition)
Adds a (sub) widget definition to this definition. |
void |
createWidget(Widget parent,
String id)
Create a widget from a contained widget definition. |
void |
createWidgets(Widget parent)
Create widgets from the contained widget definitions. |
WidgetDefinition |
getWidgetDefinition(String id)
Gets a (sub) widget definition from this definition. |
Collection |
getWidgetDefinitions()
Gets the collection of (sub) widget definition from this definition. |
boolean |
hasWidget(String id)
Check if this definition contains the named definition. |
void |
resolve(List parents,
WidgetDefinition parent)
Resolve references to widget definition classes |
Methods inherited from interface org.apache.cocoon.forms.formmodel.WidgetDefinition |
checkCompleteness, createInstance, generateDisplayData, generateDisplayData, generateLabel, getAttribute, getEnclosingLibrary, getFormDefinition, getId, getLocation, initializeFrom, setEnclosingLibrary, setParent, validate |
Method Detail |
public void resolve(List parents, WidgetDefinition parent) throws Exception
Exception
public void createWidget(Widget parent, String id)
public void createWidgets(Widget parent)
public void addWidgetDefinition(WidgetDefinition definition) throws Exception, DuplicateIdException
Exception
DuplicateIdException
public boolean hasWidget(String id)
public WidgetDefinition getWidgetDefinition(String id)
public Collection getWidgetDefinitions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |