- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.sql;
-
- /**
- * <P>The RowSetListener interface is implemented by a
- * component that wants to be notified when a significant
- * event happens in the life of a RowSet
- */
-
- public interface RowSetListener extends java.util.EventListener {
-
- /**
- * <P>Called when the rowset is changed.
- *
- * @param event an object describing the event
- */
- void rowSetChanged(RowSetEvent event);
-
- /**
- * <P>Called when a row is inserted, updated, or deleted.
- *
- * @param event an object describing the event
- */
- void rowChanged(RowSetEvent event);
-
- /**
- * Called when a rowset's cursor is moved.
- *
- * @param event an object describing the event
- */
- void cursorMoved(RowSetEvent event);
- }