org.apache.cocoon.forms.formmodel
Class RepeaterDefinition
java.lang.Object
org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
org.apache.cocoon.forms.formmodel.AbstractContainerDefinition
org.apache.cocoon.forms.formmodel.RepeaterDefinition
- All Implemented Interfaces:
- ContainerDefinition, Locatable, WidgetDefinition
- public class RepeaterDefinition
- extends AbstractContainerDefinition
The WidgetDefinition
part of a Repeater widget, see Repeater
for more information.
- Version:
- $Id: RepeaterDefinition.java 307119 2005-10-07 13:28:45Z sylvain $
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 |
RepeaterDefinition
public RepeaterDefinition(int initialSize,
int minSize,
int maxSize)
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 AbstractContainerDefinition
- Throws:
Exception
createInstance
public Widget createInstance()
- Description copied from interface:
WidgetDefinition
- Creates and returns a widget based on this widget definition.
getInitialSize
public int getInitialSize()
getMaxSize
public int getMaxSize()
getMinSize
public int getMinSize()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.