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:
Locatable, Serviceable, WidgetDefinition

public class MultiValueFieldDefinition
extends FieldDefinition

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

Version:
$Id: MultiValueFieldDefinition.java 326897 2005-10-20 13:03:52Z bruno $

Field Summary
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
createListener, parent
 
Constructor Summary
MultiValueFieldDefinition()
           
 
Method Summary
 void checkCompleteness()
          checks completeness of this definition
 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, initializeFrom, isRequired, setSuggestionList
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinition
addValueChangedListener, buildSelectionList, buildSelectionListFromModel, fireValueChangedEvent, getDatatype, getInitialValue, getSelectionList, getValueChangedListener, hasValueChangedListeners, service, setDatatype, setSelectionList
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
addCreateListener, addValidator, checkMutable, copyMap, fireCreateEvent, generateDisplayData, generateDisplayData, generateLabel, getAttribute, getFormDefinition, getId, getLocation, getParent, getState, makeImmutable, setAttributes, setDisplayData, 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

checkCompleteness

public void checkCompleteness()
                       throws IncompletenessException
checks completeness of this definition

Specified by:
checkCompleteness in interface WidgetDefinition
Overrides:
checkCompleteness in class AbstractDatatypeWidgetDefinition
Returns:
Throws:
IncompletenessException

setRequired

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


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.