FileDocCategorySizeDatePackage
RowSetListener.javaAPI DocAndroid 1.5 API2888Wed May 06 22:41:06 BST 2009javax.sql

RowSetListener

public interface RowSetListener implements EventListener
An interface used to send notification of events occurring in the context of a {@link RowSet}. To receive the notification events, an object must implement the {@code RowSetListener} interface and then register itself with the {@code RowSet} of interest using the {@link RowSet#addRowSetListener(RowSetListener)} method.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public voidcursorMoved(javax.sql.RowSetEvent theEvent)
Notifies the listener that the {@code RowSet}'s cursor in {@code theEvent.getSource} has moved.

param
theEvent a {@code RowSetEvent} that contains information about the {@code RowSet} involved. This information can be used to retrieve information about the change, such as the updated data values.
since
Android 1.0

public voidrowChanged(javax.sql.RowSetEvent theEvent)
Notifies the listener that one of the {@code RowSet}'s rows in {@code theEvent.getSource} has changed.

param
theEvent a {@code RowSetEvent} that contains information about the {@code RowSet} involved. This information can be used to retrieve information about the change, such as the new cursor position.
since
Android 1.0

public voidrowSetChanged(javax.sql.RowSetEvent theEvent)
Notifies the listener that the {@code RowSet}'s entire contents in {@code theEvent.getSource} have been updated (an example is the execution of a command which retrieves new data from the database).

param
theEvent a {@code RowSetEvent} that contains information about the {@code RowSet} involved. This information can be used to retrieve information about the change, such as the updated rows of data.
since
Android 1.0