compact2, compact3
javax.sql
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 aRowSet
object. A component becomes a listener by being registered with aRowSet
object via the methodRowSet.addRowSetListener
. How a registered component implements this interface determines what it does when it is notified of an event.- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
cursorMoved(RowSetEvent event)
Notifies registered listeners that aRowSet
object's cursor has moved.void
rowChanged(RowSetEvent event)
Notifies registered listeners that aRowSet
object has had a change in one of its rows.void
rowSetChanged(RowSetEvent event)
Notifies registered listeners that aRowSet
object in the givenRowSetEvent
object has changed its entire contents.
-
-
-
Method Detail
rowSetChanged
void rowSetChanged(RowSetEvent event)
Notifies registered listeners that aRowSet
object in the givenRowSetEvent
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 aRowSet
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 aRowSet
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
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.