Build 1.0_r1(from source)

javax.sql
Interface RowSetListener

All Superinterfaces:
EventListener

public interface RowSetListener
extends EventListener

An interface used to send notification of events occurring in a RowSet. To receive the notification events, an object must implement the RowSetListener interface and then register itself with the RowSet of interest using the RowSet.addRowSetListener method.


Method Summary
 void cursorMoved(RowSetEvent theEvent)
          Notifies the listener that one of the RowSet's rows has changed.
 void rowChanged(RowSetEvent theEvent)
          Notifies the listener that the RowSet's cursor has moved.
 void rowSetChanged(RowSetEvent theEvent)
          Notifies the listener that the RowSet's entire contents have been updated (an example is the execution of a command which retrieves new data from the database).
 

Method Detail

cursorMoved

void cursorMoved(RowSetEvent theEvent)
Notifies the listener that one of the RowSet's rows has changed.

Parameters:
theEvent - a RowSetEvent that contains information about the RowSet involved. This information can be used to retrieve information about the change, such as the new cursor position.

rowChanged

void rowChanged(RowSetEvent theEvent)
Notifies the listener that the RowSet's cursor has moved.

Parameters:
theEvent - theEvent a RowSetEvent that contains information about the RowSet involved. This information can be used to retrieve information about the change, such as the updated data values.

rowSetChanged

void rowSetChanged(RowSetEvent theEvent)
Notifies the listener that the RowSet's entire contents have been updated (an example is the execution of a command which retrieves new data from the database).

Parameters:
theEvent - theEvent a RowSetEvent that contains information about the RowSet involved. This information can be used to retrieve information about the change, such as the updated rows of data.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature