O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

RowSetListener

Synopsis

Interface Name: javax.sql.RowSetListener

Superclass: java.util.EventListener

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

Objects wanting to know when rowset events occur in a RowSet instance implement this interface to be notified of those events.

Class Summary

public interface RowSetListener extends java.util.EventListener {
    void cursorMoved(RowSetEvent evt);
    void rowChanged(RowSetEvent evt);
    void rowSetChanged(RowSetEvent evt);
}

Object Methods

cursorMoved( )

public void cursorMoved(RowSetEvent evt);
Description

This method is called whenever the cursor for the rowset being monitored by the implementor of this interface has moved.

rowChanged( )

public void rowChanged(RowSetEvent evt);
Description

This method is called whenever a change has occurred to a row in the rowset being monitored by this object.

rowSetChanged( )

public void rowSetChanged(RowSetEvent evt);
Description

This method is called whenever a change has occurred that affects the rowset as a whole.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required