Android
javax.sql
public interface

javax.sql.RowSetListener

javax.sql.RowSetListener 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.

Summary

Public Methods

          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).

Details

Public Methods

public 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.

public 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.

public 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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56