- 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
-
Method Summary
Modifier and Type Method Description voidcursorMoved(RowSetEvent event)Notifies registered listeners that aRowSetobject's cursor has moved.voidrowChanged(RowSetEvent event)Notifies registered listeners that aRowSetobject has had a change in one of its rows.voidrowSetChanged(RowSetEvent event)Notifies registered listeners that aRowSetobject in the givenRowSetEventobject has changed its entire contents.
-
Method Details
-
rowSetChanged
Notifies registered listeners that aRowSetobject 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
Notifies registered listeners that aRowSetobject 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
Notifies registered listeners that aRowSetobject'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
-