to top
Android APIs
Since: API Level 1
public interface

RowSetListener

implements EventListener
javax.sql.RowSetListener

Class Overview

An interface used to send notification of events occurring in the context of 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 addRowSetListener(RowSetListener) method.

Summary

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

Public Methods

public abstract void cursorMoved (RowSetEvent theEvent)

Since: API Level 1

Notifies the listener that the RowSet's cursor in theEvent.getSource has moved.

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 updated data values.

public abstract void rowChanged (RowSetEvent theEvent)

Since: API Level 1

Notifies the listener that one of the RowSet's rows in theEvent.getSource 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.

public abstract void rowSetChanged (RowSetEvent theEvent)

Since: API Level 1

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

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 updated rows of data.