Package javax.sql
Class RowSetEvent
java.lang.Object
java.util.EventObject
javax.sql.RowSetEvent
- All Implemented Interfaces:
Serializable
public class RowSetEvent extends EventObject implements Serializable
An event which is sent when specific events happen to a
RowSet
object. The events are sent to inform registered listeners that changes have
occurred to the RowSet. The events covered are:
- A single row in the
RowSetchanges. - The whole set of data in the
RowSetchanges. - The
RowSetcursor position changes.
The event contains a reference to the RowSet object which generated
the message so that the listeners can extract whatever information they need
from that reference.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors Constructor Description RowSetEvent(RowSet theSource)Creates aRowSetEventobject containing a reference to theRowSetobject that generated the event. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RowSetEvent
Creates aRowSetEventobject containing a reference to theRowSetobject that generated the event. Information about the changes that have occurred to theRowSetcan be extracted from theRowSetusing one or more of the query methods available on theRowSet.- Parameters:
theSource- theRowSetwhich generated the event.
-