|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition org.apache.cocoon.woody.formmodel.AbstractContainerDefinition
public abstract class AbstractContainerDefinition
The AbstractContainerDefinition
corresponding to an AbstractContainerWidget
.
Field Summary | |
---|---|
protected ContainerDefinitionDelegate |
definitions
|
Fields inherited from class org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition |
---|
parent |
Constructor Summary | |
---|---|
AbstractContainerDefinition()
|
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 class org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition |
---|
addValidator, generateDisplayData, generateDisplayData, generateLabel, getFormDefinition, getId, getLocation, getParent, setDisplayData, setId, setLocation, setParent, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.woody.formmodel.WidgetDefinition |
---|
createInstance, generateDisplayData, generateDisplayData, generateLabel, getFormDefinition, getId, getLocation, setParent |
Field Detail |
---|
protected ContainerDefinitionDelegate definitions
Constructor Detail |
---|
public AbstractContainerDefinition()
Method Detail |
---|
public void createWidget(Widget parent, String id)
ContainerDefinition
createWidget
in interface ContainerDefinition
public void createWidgets(Widget parent)
ContainerDefinition
createWidgets
in interface ContainerDefinition
public void addWidgetDefinition(WidgetDefinition definition) throws Exception, DuplicateIdException
ContainerDefinition
addWidgetDefinition
in interface ContainerDefinition
Exception
DuplicateIdException
public void resolve(List parents, WidgetDefinition parent) throws Exception
ContainerDefinition
resolve
in interface ContainerDefinition
Exception
public boolean hasWidget(String id)
ContainerDefinition
hasWidget
in interface ContainerDefinition
public WidgetDefinition getWidgetDefinition(String id)
ContainerDefinition
getWidgetDefinition
in interface ContainerDefinition
public Collection getWidgetDefinitions()
ContainerDefinition
getWidgetDefinitions
in interface ContainerDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |