Name
DataModelEvent
Synopsis
This class represents an event fired by
the DataModel
class.
Class name: |
javax.faces.model.DataModelEvent |
Extends: |
java.util.EventObject |
Implements: |
java.io.Serializable |
Constructor
-
public DataModelEvent(javax.faces.model.DataModel, int index, Object data)
Creates a new instance for the specified model, row index, and row data.
Methods
-
public javax.faces.model.DataModel getDataModel()
Returns the
DataModel
that fired the event.-
public Object getRowData()
Returns the
Object
holding the data for the row the event refers to ornull
if it doesn’t refer to a row.-
public int getRowIndex()
Returns the index for the row the event refers to or -1 if it doesn’t refer to a row.
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.