org.apache.cocoon.forms.formmodel
Class RepeaterActionDefinition.InsertRowsActionDefinition

java.lang.Object
  extended by org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
      extended by org.apache.cocoon.forms.formmodel.ActionDefinition
          extended by org.apache.cocoon.forms.formmodel.RepeaterActionDefinition
              extended by org.apache.cocoon.forms.formmodel.RepeaterActionDefinition.InsertRowsActionDefinition
All Implemented Interfaces:
WidgetDefinition, Locatable
Enclosing class:
RepeaterActionDefinition

public static class RepeaterActionDefinition.InsertRowsActionDefinition
extends RepeaterActionDefinition

The definition of a repeater action that insert rows before the selected rows in a sibling repeater, or at the end of the repeater if no row is selected.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cocoon.forms.formmodel.RepeaterActionDefinition
RepeaterActionDefinition.AddRowActionDefinition, RepeaterActionDefinition.ChangePageActionDefinition, RepeaterActionDefinition.DeleteRowsActionDefinition, RepeaterActionDefinition.InsertRowsActionDefinition, RepeaterActionDefinition.SortActionDefinition
 
Field Summary
protected  String selectName
           
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
createListener, enclosingLibrary, parent
 
Constructor Summary
RepeaterActionDefinition.InsertRowsActionDefinition(String repeaterName, String selectWidgetName)
           
 
Method Summary
 void initializeFrom(WidgetDefinition definition)
          initialize this definition with the other, sort of like a copy constructor
 
Methods inherited from class org.apache.cocoon.forms.formmodel.RepeaterActionDefinition
createInstance, getRepeaterName
 
Methods inherited from class org.apache.cocoon.forms.formmodel.ActionDefinition
addActionListener, fireActionEvent, getActionCommand, hasActionListeners, setActionCommand
 
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
 

Field Detail

selectName

protected String selectName
Constructor Detail

RepeaterActionDefinition.InsertRowsActionDefinition

public RepeaterActionDefinition.InsertRowsActionDefinition(String repeaterName,
                                                           String selectWidgetName)
Method Detail

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 RepeaterActionDefinition
Throws:
Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.