RowSetListener (Java SE 10 & JDK 10 )
-
- 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
RowSetobject. A component becomes a listener by being registered with aRowSetobject 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 Description voidcursorMoved(RowSetEvent event)Notifies registered listeners that a
RowSetobject's cursor has moved.voidrowChanged(RowSetEvent event)Notifies registered listeners that a
RowSetobject has had a change in one of its rows.voidrowSetChanged(RowSetEvent event)Notifies registered listeners that a
RowSetobject in the givenRowSetEventobject has changed its entire contents.
-
-
-
Method Detail
-
rowSetChanged
void rowSetChanged(RowSetEvent event)
Notifies registered listeners that a
RowSetobject in the givenRowSetEventobject has changed its entire contents.The source of the event can be retrieved with the method
event.getSource.- Parameters:
event- aRowSetEventobject that contains theRowSetobject that is the source of the event
-
rowChanged
void rowChanged(RowSetEvent event)
Notifies registered listeners that a
RowSetobject has had a change in one of its rows.The source of the event can be retrieved with the method
event.getSource.- Parameters:
event- aRowSetEventobject that contains theRowSetobject that is the source of the event
-
cursorMoved
void cursorMoved(RowSetEvent event)
Notifies registered listeners that a
RowSetobject's cursor has moved.The source of the event can be retrieved with the method
event.getSource.- Parameters:
event- aRowSetEventobject that contains theRowSetobject that is the source of the event
-
-
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.