|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerDefinition
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.woody.formmodel.WidgetDefinition |
---|
createInstance, generateDisplayData, generateDisplayData, generateLabel, getFormDefinition, getId, getLocation, setParent |
Method Detail |
---|
void resolve(List parents, WidgetDefinition parent) throws Exception
Exception
void createWidget(Widget parent, String id)
void createWidgets(Widget parent)
void addWidgetDefinition(WidgetDefinition definition) throws Exception, DuplicateIdException
Exception
DuplicateIdException
boolean hasWidget(String id)
WidgetDefinition getWidgetDefinition(String id)
Collection getWidgetDefinitions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |