Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JDBC for CDC/FP Optional Package

javax.sql
Interface RowSetListener

All Superinterfaces:
java.util.EventListener

public interface RowSetListener
extends java.util.EventListener

An interface that must be implemented by a component that wants to be notified when a significant event happens in the life of a RowSet object. A component becomes a listener by being registered with a RowSet object via the method RowSet.addRowSetListener. How a registered component implements this interface determines what it does when it is notified of an event.

Since:
1.4

Method Summary
 void cursorMoved(RowSetEvent event)
          Notifies registered listeners that a RowSet object's cursor has moved.
 void rowChanged(RowSetEvent event)
          Notifies registered listeners that a RowSet object has had a change in one of its rows.
 void rowSetChanged(RowSetEvent event)
          Notifies registered listeners that a RowSet object in the given RowSetEvent object has changed its entire contents.
 

Method Detail

rowSetChanged

public void rowSetChanged(RowSetEvent event)
Notifies registered listeners that a RowSet object in the given RowSetEvent object has changed its entire contents.

The source of the event can be retrieved with the method event.getSource.

Parameters:
event - a RowSetEvent object that contains the RowSet object that is the source of the event

rowChanged

public void rowChanged(RowSetEvent event)
Notifies registered listeners that a RowSet object has had a change in one of its rows.

The source of the event can be retrieved with the method event.getSource.

Parameters:
event - a RowSetEvent object that contains the RowSet object that is the source of the event

cursorMoved

public void cursorMoved(RowSetEvent event)
Notifies registered listeners that a RowSet object's cursor has moved.

The source of the event can be retrieved with the method event.getSource.

Parameters:
event - a RowSetEvent object that contains the RowSet object that is the source of the event

JDBC for CDC/FP Optional Package

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 169 specification.