org.apache.cocoon.forms.formmodel
Class ClassDefinition

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
      extended byorg.apache.cocoon.forms.formmodel.AbstractContainerDefinition
          extended byorg.apache.cocoon.forms.formmodel.ClassDefinition
All Implemented Interfaces:
ContainerDefinition, org.apache.cocoon.util.location.Locatable, WidgetDefinition

public class ClassDefinition
extends AbstractContainerDefinition

A WidgetDefinition which holds a collection of Widgets and which can be instantiated with a NewDefinition.

Version:
$Id: ClassDefinition.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractContainerDefinition
definitions
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
createListener, enclosingLibrary, parent
 
Constructor Summary
ClassDefinition()
           
 
Method Summary
 Widget createInstance()
          Creates and returns a widget based on this widget definition.
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractContainerDefinition
addWidgetDefinition, checkCompleteness, createWidget, createWidgets, getWidgetDefinition, getWidgetDefinitions, hasWidget, initializeFrom, resolve
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
addCreateListener, addValidator, checkMutable, fireCreateEvent, generateDisplayData, generateDisplayData, generateLabel, getAttribute, getEnclosingLibrary, getFormDefinition, getId, getLocation, getParent, getState, makeImmutable, setAttributes, setDisplayData, setEnclosingLibrary, setId, setLocation, setParent, setState, validate, widgetCreated
 
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.forms.formmodel.WidgetDefinition
generateDisplayData, generateDisplayData, generateLabel, getAttribute, getEnclosingLibrary, getFormDefinition, getId, getLocation, setEnclosingLibrary, setParent, validate
 

Constructor Detail

ClassDefinition

public ClassDefinition()
Method Detail

createInstance

public Widget createInstance()
Description copied from interface: WidgetDefinition
Creates and returns a widget based on this widget definition.



Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.