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

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.AbstractWidgetDefinition
      extended byorg.apache.cocoon.forms.formmodel.ActionDefinition
          extended byorg.apache.cocoon.forms.formmodel.RepeaterActionDefinition
              extended byorg.apache.cocoon.forms.formmodel.RepeaterActionDefinition.InsertRowsActionDefinition
All Implemented Interfaces:
org.apache.cocoon.util.location.Locatable, WidgetDefinition
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 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-2008 The Apache Software Foundation. All Rights Reserved.