org.apache.cocoon.forms.event
Class RepeaterEvent
java.lang.Object
java.util.EventObject
org.apache.cocoon.forms.event.WidgetEvent
org.apache.cocoon.forms.event.RepeaterEvent
- All Implemented Interfaces:
- Serializable
public class RepeaterEvent
- extends WidgetEvent
An event raised when a repeater widget row is added, removed or reordered.
- Version:
- $Id: RepeaterEvent.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
- Serialized Form
RepeaterEvent
public RepeaterEvent(Widget sourceWidget,
RepeaterEventAction action)
- Parameters:
sourceWidget
- The repeater widget dispatching the event.action
- The action for which this event is being triggered.
RepeaterEvent
public RepeaterEvent(Widget sourceWidget,
RepeaterEventAction action,
int row)
- Parameters:
sourceWidget
- The repeater widget dispatching the event.action
- The action for which this event is being triggered.row
- The row index for which the event is being generated.
getRow
public int getRow()
- Returns:
- Returns the row index for which the event has been generated.
getAction
public RepeaterEventAction getAction()
- Returns:
- Returns the action.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.