public interface RowSetListener extends EventListener
RowSet对象的生活发生重大事件时执行。一个组件是一
RowSet对象通过方法
RowSet.addRowSetListener注册成为一个倾听者。注册组件如何实现这个接口,决定了它在通知事件时它做了什么。
| Modifier and Type | Method and Description |
|---|---|
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对象作为事件源的
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.