Interface RowSetListener
- All Superinterfaces:
EventListener
public interface RowSetListener extends 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
Methods
Modifier and Type | Method | Description |
---|---|---|
void | cursorMoved(RowSetEvent event) | Notifies registered listeners that a |
void | rowChanged(RowSetEvent event) | Notifies registered listeners that a |
void | rowSetChanged(RowSetEvent event) | Notifies registered listeners that a |
Methods
rowSetChanged
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
- aRowSetEvent
object that contains theRowSet
object that is the source of the event
rowChanged
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
- aRowSetEvent
object that contains theRowSet
object that is the source of the event
cursorMoved
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
- aRowSetEvent
object that contains theRowSet
object that is the source of the event
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/javax/sql/RowSetListener.html