Package javax.sql

Class 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:
  1. A single row in the RowSet changes.
  2. The whole set of data in the RowSet changes.
  3. The RowSet cursor 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
  • Constructor Details

    • RowSetEvent

      public RowSetEvent​(RowSet theSource)
      Creates a RowSetEvent object containing a reference to the RowSet object that generated the event. Information about the changes that have occurred to the RowSet can be extracted from the RowSet using one or more of the query methods available on the RowSet.
      Parameters:
      theSource - the RowSet which generated the event.