鸿蒙OS RowSetEvent
2022-11-03 10:42 更新
RowSetEvent
java.lang.Object
|---java.util.EventObject
|---|---javax.sql.RowSetEvent
public class RowSetEvent
extends EventObject
当 RowSet 对象发生事件时生成的 Event 对象。 当更改行集中的单个行、更改整个行集或行集游标移动时,将生成 RowSetEvent 对象。
当 RowSet 对象上发生事件时,RowSetListener 方法之一将被发送到所有已注册的侦听器以通知它们该事件。 向 RowSetListener 方法提供一个 Event 对象,以便侦听器可以使用它来找出哪个 RowSet 对象是事件源。
Since:
1.4
字段摘要
| 从类 java.util.EventObject 继承的字段 |
|---|
| source |
构造函数摘要
| 构造函数 | 描述 |
|---|---|
| RowSetEvent(RowSet source) | 构造使用给定 RowSet 对象初始化的 RowSetEvent 对象。 |
方法总结
| 从类 java.util.EventObject 继承的方法 |
|---|
| getSource, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造函数详细信息
RowSetEvent
public RowSetEvent(RowSet source)
构造使用给定 RowSet 对象初始化的 RowSetEvent 对象。
参数:
| 参数名称 | 参数描述 |
|---|---|
| source | 数据已更改或光标已移动的 RowSet 对象 |
Throws:
| Throw名称 | Throw描述 |
|---|---|
| IllegalArgumentException | 如果 source 为空。 |
以上内容是否对您有帮助:

免费 AI IDE


更多建议: