-
- 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
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
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/sql/rowsetlistener.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.