public class RowSetEvent extends EventObject
Event对象在Event对象发生事件时RowSet对象。
当行集中的单行更改,整个行集更改或行集游标移动时,将RowSetEvent对象。
当RowSet对象发生事件时, RowSetListener方法之一将发送到所有注册的监听器,以通知他们事件。 Event对象被提供给RowSetListener方法,以便侦听器可以使用它来找出哪个RowSet对象是事件的源。
source| Constructor and Description |
|---|
RowSetEvent(RowSet source)
构造一个
RowSetEvent给定初始化的对象
RowSet对象。
|
public RowSetEvent(RowSet source)
RowSetEvent对象,使用给定的
RowSet对象进行初始化。
source - 其数据已更改或其光标已移动的
RowSet对象
IllegalArgumentException - 如果
source为空。