org.apache.cocoon.forms.formmodel
Class SubmitDefinition
java.lang.Object
org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
org.apache.cocoon.forms.formmodel.ActionDefinition
org.apache.cocoon.forms.formmodel.SubmitDefinition
- All Implemented Interfaces:
- WidgetDefinition, Locatable
public class SubmitDefinition
- extends ActionDefinition
Definition for a Submit
.
- Version:
- $Id: SubmitDefinition.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
SubmitDefinitionBuilder
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition |
addCreateListener, addValidator, checkCompleteness, 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 |
SubmitDefinition
public SubmitDefinition()
initializeFrom
public void initializeFrom(WidgetDefinition definition)
throws Exception
- initialize this definition with the other, sort of like a copy constructor
- Specified by:
initializeFrom
in interface WidgetDefinition
- Overrides:
initializeFrom
in class ActionDefinition
- Throws:
Exception
setValidateForm
public void setValidateForm(boolean validateForm)
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 ActionDefinition
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.