Package javax.faces.model
Class DataModelEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.model.DataModelEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class DataModelEvent extends java.util.EventObjectDataModelEvent represents an event of interest to registered listeners that occurred on the specified
DataModel.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataModelEvent(DataModel model, int index, java.lang.Object data)Construct an event object that is associated with the specified row index and associated data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataModelgetDataModel()Return theDataModelthat fired this event.java.lang.ObjectgetRowData()Return the object representing the data for the specified row index, ornullfor no associated row data.intgetRowIndex()Return the row index for this event, or -1 for no specific row.
-
-
-
Constructor Detail
-
DataModelEvent
public DataModelEvent(DataModel model, int index, java.lang.Object data)
Construct an event object that is associated with the specified row index and associated data.
- Parameters:
model- TheDataModelon which this event occurredindex- The zero relative row index for which this event occurred, or -1 for no specific row associationdata- Representation of the data for the row specified byindex, ornullfor no particular row data
-
-