org.apache.cocoon.woody.formmodel
Class FieldDefinition

java.lang.Object
  extended by org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
      extended by org.apache.cocoon.woody.formmodel.AbstractDatatypeWidgetDefinition
          extended by org.apache.cocoon.woody.formmodel.FieldDefinition
All Implemented Interfaces:
Serviceable, WidgetDefinition
Direct Known Subclasses:
AggregateFieldDefinition, MultiValueFieldDefinition

public class FieldDefinition
extends AbstractDatatypeWidgetDefinition

The WidgetDefinition part of a Field widget, see Field for more information.

Version:
$Id: FieldDefinition.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
parent
 
Constructor Summary
FieldDefinition()
           
 
Method Summary
 Widget createInstance()
          Creates and returns a widget based on this widget definition.
 boolean isRequired()
           
 void setRequired(boolean required)
           
 
Methods inherited from class org.apache.cocoon.woody.formmodel.AbstractDatatypeWidgetDefinition
addValueChangedListener, buildSelectionList, buildSelectionListFromModel, fireValueChangedEvent, getDatatype, getSelectionList, hasValueChangedListeners, service, setDatatype, setSelectionList
 
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
 

Constructor Detail

FieldDefinition

public FieldDefinition()
Method Detail

createInstance

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


isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean required)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.