java.lang.Object
java.util.EventObject
jakarta.faces.model.DataModelEvent
- All Implemented Interfaces:
- Serializable
 DataModelEvent represents an event of interest to registered listeners that occurred on the
 specified DataModel.
 
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionDataModelEvent(DataModel model, int index, Object data) Construct an event object that is associated with the specified row index and associated data.
- 
Method SummaryModifier and TypeMethodDescriptionReturn theDataModelthat fired this event.Return the object representing the data for the specified row index, ornullfor no associated row data.intReturn the row index for this event, or -1 for no specific row.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
DataModelEventConstruct an event object that is associated with the specified row index and associated data. - Parameters:
- model- The- DataModelon which this event occurred
- index- The zero relative row index for which this event occurred, or -1 for no specific row association
- data- Representation of the data for the row specified by- index, or- nullfor no particular row data
 
 
- 
- 
Method Details- 
getDataModel
- 
getRowDataReturn the object representing the data for the specified row index, or nullfor no associated row data.- Returns:
- the object representing the data for the specified row index, or nullfor no associated row data
 
- 
getRowIndexpublic int getRowIndex()Return the row index for this event, or -1 for no specific row. - Returns:
- the row index for this event, or -1 for no specific row
 
 
-