|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface RowSetListener
要在 RowSet 对象的生命周期内发生重要事件时得到通知的组件必须实现该接口。通过使用 RowSet.addRowSetListener 方法在 RowSet 对象中注册,组件将变成侦听器。已注册组件实现此接口的方式决定它得到事件通知时将执行的操作。
| 方法摘要 | |
|---|---|
void |
cursorMoved(RowSetEvent event)
通知已注册侦听器 RowSet 对象的指针已移动。 |
void |
rowChanged(RowSetEvent event)
通知已注册侦听器 RowSet 对象的其中一行发生了更改。 |
void |
rowSetChanged(RowSetEvent event)
通知已注册侦听器给定 RowSetEvent 对象中的 RowSet 对象已更改其全部内部。 |
| 方法详细信息 |
|---|
void rowSetChanged(RowSetEvent event)
RowSetEvent 对象中的 RowSet 对象已更改其全部内部。
可以使用 event.getSource 方法获取事件源。
event - 一个 RowSetEvent 对象,它包含作为事件源的 RowSet 对象void rowChanged(RowSetEvent event)
RowSet 对象的其中一行发生了更改。
可以使用 event.getSource 方法获取事件源。
event - 一个 RowSetEvent 对象,它包含作为事件源的 RowSet 对象void cursorMoved(RowSetEvent event)
RowSet 对象的指针已移动。
可以使用 event.getSource 方法获取事件源。
event - 一个 RowSetEvent 对象,它包含作为事件源的 RowSet 对象
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。