org.apache.cocoon.forms.formmodel
Class WidgetDefinitionList
java.lang.Object
org.apache.cocoon.forms.formmodel.WidgetDefinitionList
public class WidgetDefinitionList
- extends Object
Helper class for the Definition implementation of widgets containing
other widgets.
- Version:
- $Id: WidgetDefinitionList.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetDefinitionList
public WidgetDefinitionList(WidgetDefinition definition)
- Parameters:
definition
- the widget definition to which this container delegate belongs
size
public int size()
addWidgetDefinition
public void addWidgetDefinition(WidgetDefinition widgetDefinition)
throws DuplicateIdException
- Throws:
DuplicateIdException
getWidgetDefinitions
public List getWidgetDefinitions()
hasWidget
public boolean hasWidget(String id)
getWidgetDefinition
public WidgetDefinition getWidgetDefinition(String id)
resolve
public void resolve(List parents,
WidgetDefinition parent)
throws Exception
- Throws:
Exception
createWidget
public void createWidget(Widget parent,
String id)
createWidgets
public void createWidgets(Widget parent)
checkCompleteness
public void checkCompleteness()
throws IncompletenessException
- Throws:
IncompletenessException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.