Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo
Class RowEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.jbo.JboEvent
          extended byoracle.jbo.RowEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InsertDeleteEvent, UpdateEvent

public class RowEvent
extends JboEvent

An event class used by RowSetIterator to inform its listeners when a row is modified, added, or deleted.

Since:
JDeveloper 3.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RowEvent(NavigatableRowIterator source, Row row, int rowIndex)
          Creates an event when a row is modified, added, or deleted.
 
Method Summary
 Row getRow()
          Gets the row that has been modified.
 int getRowIndex()
          Gets the index of the row that has been modified.
 java.lang.String toString(java.lang.String className)
          Internal: For debugging only.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowEvent

public RowEvent(NavigatableRowIterator source,
                Row row,
                int rowIndex)
Creates an event when a row is modified, added, or deleted.

Parameters:
source - an accessor to a set of rows.
row - the modified row.
rowIndex - the row's index in the row set range.
Method Detail

getRow

public Row getRow()
Gets the row that has been modified.

Returns:
the modified row object.

getRowIndex

public int getRowIndex()
Gets the index of the row that has been modified.

Returns:
the modified row object's index in the row set range.

toString

public java.lang.String toString(java.lang.String className)
Internal: For debugging only.

Returns:
a diagnostic string.

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.