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.
Get Database Programming with JDBC & Java, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.