org.apache.cocoon.forms.formmodel
Class MultiValueFieldDefinition

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
      extended byorg.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinition
          extended byorg.apache.cocoon.forms.formmodel.FieldDefinition
              extended byorg.apache.cocoon.forms.formmodel.MultiValueFieldDefinition
All Implemented Interfaces:
org.apache.cocoon.util.location.Locatable, WidgetDefinition

public class MultiValueFieldDefinition
extends FieldDefinition

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

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

Field Summary
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
createListener, enclosingLibrary, parent
 
Constructor Summary
MultiValueFieldDefinition()
           
 
Method Summary
 Widget createInstance()
          Creates and returns a widget based on this widget definition.
 void setRequired(boolean required)
           
 
Methods inherited from class org.apache.cocoon.forms.formmodel.FieldDefinition
getSuggestionList, getWhitespaceTrim, initializeFrom, isRequired, setSuggestionList, setWhitespaceTrim
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinition
addValueChangedListener, buildSelectionList, buildSelectionListFromModel, checkCompleteness, fireValueChangedEvent, getDatatype, getInitialValue, getSelectionList, getValueChangedListener, hasValueChangedListeners, setDatatype, setProcessInfoProvider, setSelectionList, setSourceResolver, setXmlizer
 
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
 

Constructor Detail

MultiValueFieldDefinition

public MultiValueFieldDefinition()
Method Detail

createInstance

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

Specified by:
createInstance in interface WidgetDefinition
Overrides:
createInstance in class FieldDefinition

setRequired

public void setRequired(boolean required)
Overrides:
setRequired in class FieldDefinition


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