| java.lang.Object org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
All known Subclasses: org.apache.cocoon.forms.formmodel.tree.TreeDefinition, org.apache.cocoon.forms.formmodel.UploadDefinition, org.apache.cocoon.forms.formmodel.GoogleMapDefinition, org.apache.cocoon.forms.formmodel.ImageMapDefinition, org.apache.cocoon.forms.formmodel.ActionDefinition, org.apache.cocoon.forms.formmodel.NewDefinition, org.apache.cocoon.forms.formmodel.BooleanFieldDefinition, org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinition, org.apache.cocoon.forms.formmodel.MessagesDefinition, org.apache.cocoon.forms.formmodel.AbstractContainerDefinition,
AbstractWidgetDefinition | abstract public class AbstractWidgetDefinition implements WidgetDefinition(Code) | | Provides functionality that is common across many WidgetDefinition implementations.
version: $Id: AbstractWidgetDefinition.java 449149 2006-09-23 03:58:05Z crossley $ |
checkMutable | protected void checkMutable()(Code) | | Check that this definition is mutable, i.e. is in setup phase. If not, throw an exception.
|
getParent | public WidgetDefinition getParent()(Code) | | Gets the parent of this definition.
This method returns null for the root definition.
|
initializeFrom | public void initializeFrom(WidgetDefinition definition) throws Exception(Code) | | initialize this definition with the other, sort of like a copy constructor
|
makeImmutable | public void makeImmutable()(Code) | | Locks this definition so that it becomes immutable.
|
setAttributes | public void setAttributes(Map attributes)(Code) | | |
setDisplayData | public void setDisplayData(Map displayData)(Code) | | Sets the various display data for this widget. This includes the label, hint and help.
They must all be objects implementing the XMLizable interface. This approach
allows to have mixed content in these data.
Parameters: displayData - an association of {name, sax fragment} |
setEnclosingLibrary | public void setEnclosingLibrary(Library library)(Code) | | |
|
|