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 aRowSetobject. The events are sent to inform registered listeners that changes have occurred to theRowSet. 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
RowSetobject 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.
-
-
-
Constructor Detail
-
RowSetEvent
public RowSetEvent(RowSet theSource)
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.
-
-