JavaScript is disabled on your browser.
Skip navigation links
javax.faces.model

Class DataModelEvent

    • Constructor Detail

      • DataModelEvent

        public DataModelEvent(DataModel model,
         int index,
         Object data)

        Construct an event object that is associated with the specified row index and associated data.

        Parameters:
        model - The DataModel on 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 null for no particular row data
    • Method Detail

      • getDataModel

        public DataModel getDataModel()

        Return the DataModel that fired this event.

      • getRowData

        public Object getRowData()

        Return the object representing the data for the specified row index, or null for no associated row data.

      • getRowIndex

        public int getRowIndex()

        Return the row index for this event, or -1 for no specific row.

Skip navigation links

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /