Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class RowChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.dacf.dataset.RowSetChangeEvent
          extended byoracle.dacf.dataset.RowChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class RowChangeEvent
extends RowSetChangeEvent

A RowChangeEvent is created when a change listener that implements the ChangeListener interface detects that a row is about to be added or removed from the RowSet.

Version:
SDK: since JDeveloper 2.0
See Also:
ChangeListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RowChangeEvent(java.lang.Object source, javax.infobus.RowsetAccess dataItem, int rowIndex)
          Public constructor.
 
Method Summary
 int getRowIndex()
          Returns the index of the row which will be added or deleted.
 void setRowIndex(int nuRowIndex)
          Specifies the index of the row that will be added or deleted.
 
Methods inherited from class oracle.dacf.dataset.RowSetChangeEvent
getDataItem, setDataItem
 
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

RowChangeEvent

public RowChangeEvent(java.lang.Object source,
                      javax.infobus.RowsetAccess dataItem,
                      int rowIndex)
Public constructor.

Parameters:
source - the RowSetInfo generating the event.
dataItem - the dataItem associated with the RowSetInfo.
rowIndex - index of the row that is to be added or removed.
Method Detail

setRowIndex

public void setRowIndex(int nuRowIndex)
Specifies the index of the row that will be added or deleted. That is, the row affected by this RowChangeEvent.

Parameters:
nuRowIndex - the index of the row which is to be changed.

getRowIndex

public int getRowIndex()
Returns the index of the row which will be added or deleted. That is, the row affected by this RowSetChangeEvent.

Returns:
the index of the row which is to be changed.

Oracle Data-aware Controls Reference

 

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