1. /*
  2. * @(#)RowSetEvent.java 1.9 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.sql;
  8. /**
  9. * An <code>Event</code> object generated when an event occurs to a
  10. * <code>RowSet</code> object. A <code>RowSetEvent</code> object is
  11. * generated when a single row in a rowset is changed, the whole rowset
  12. * is changed, or the rowset cursor moves.
  13. * <P>
  14. * When an event occurs on a <code>RowSet</code> object, one of the
  15. * <code>RowSetListener</code> methods will be sent to all registered
  16. * listeners to notify them of the event. An <code>Event</code> object
  17. * is supplied to the <code>RowSetListener</code> method so that the
  18. * listener can use it to find out which <code>RowSet</code> object is
  19. * the source of the event.
  20. *
  21. * @since 1.4
  22. */
  23. public class RowSetEvent extends java.util.EventObject {
  24. /**
  25. * Constructs a <code>RowSetEvent</code> object initialized with the
  26. * given <code>RowSet</code> object.
  27. *
  28. * @param source the <code>RowSet</code> object whose data has changed or
  29. * whose cursor has moved
  30. */
  31. public RowSetEvent(RowSet source)
  32. { super(source); }
  33. /**
  34. * Private serial version unique ID to ensure serialization
  35. * compatibility.
  36. */
  37. static final long serialVersionUID = -1875450876546332005L;
  38. }