public interface RowSetListener extends EventListener
RowSet对象的生命中发生重大事件时被通知。
通过RowSet.addRowSetListener方法RowSet.addRowSetListener RowSet对象注册,组件成为侦听器。
注册组件如何实现此接口确定在通知事件时的功能。
| Modifier and Type | Method and Description |
|---|---|
void |
cursorMoved(RowSetEvent event)
通知已注册的
RowSet对象的光标已移动。
|
void |
rowChanged(RowSetEvent event)
通知已注册的侦听器,一个
RowSet对象在其中一行中发生了更改。
|
void |
rowSetChanged(RowSetEvent event)
通知注册听众指定的
RowSet对象中的一个
RowSetEvent对象已更改其全部内容。
|
void rowSetChanged(RowSetEvent event)
RowSet对象中的一个RowSetEvent对象已更改其全部内容。
可以使用方法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对象
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.