Skip to content

Most visited

Recently visited

navigation
Added in API level 1

RowSetListener

public interface RowSetListener
implements EventListener

javax.sql.RowSetListener


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

cursorMoved

Added in API level 1
void cursorMoved (RowSetEvent theEvent)

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

Parameters
theEvent RowSetEvent: 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.

rowChanged

Added in API level 1
void rowChanged (RowSetEvent theEvent)

Notifies the listener that one of the RowSet's rows in theEvent.getSource has changed.

Parameters
theEvent RowSetEvent: 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.

rowSetChanged

Added in API level 1
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).

Parameters
theEvent RowSetEvent: 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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.