Stay organized with collections
Save and categorize content based on your preferences.
RowSetListener
interface RowSetListener : EventListener
An interface that must be implemented by a component that wants to be notified when a significant event happens in the life of a RowSet
object. A component becomes a listener by being registered with a RowSet
object via the method RowSet.addRowSetListener
. How a registered component implements this interface determines what it does when it is notified of an event.
Summary
Public methods |
abstract Unit |
Notifies registered listeners that a RowSet object's cursor has moved.
|
abstract Unit |
Notifies registered listeners that a RowSet object has had a change in one of its rows.
|
abstract Unit |
Notifies registered listeners that a RowSet object in the given RowSetEvent object has changed its entire contents.
|
Public methods
cursorMoved
abstract fun cursorMoved(event: RowSetEvent!): Unit
Notifies registered listeners that a RowSet
object's cursor has moved.
The source of the event can be retrieved with the method event.getSource
.
Parameters |
event |
RowSetEvent!: a RowSetEvent object that contains the RowSet object that is the source of the event |
rowChanged
abstract fun rowChanged(event: RowSetEvent!): Unit
Notifies registered listeners that a RowSet
object has had a change in one of its rows.
The source of the event can be retrieved with the method event.getSource
.
Parameters |
event |
RowSetEvent!: a RowSetEvent object that contains the RowSet object that is the source of the event |
rowSetChanged
abstract fun rowSetChanged(event: RowSetEvent!): Unit
Notifies registered listeners that a RowSet
object in the given RowSetEvent
object has changed its entire contents.
The source of the event can be retrieved with the method event.getSource
.
Parameters |
event |
RowSetEvent!: a RowSetEvent object that contains the RowSet object that is the source of the event |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# RowSetListener\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRowSetListener\n==============\n\n```\ninterface RowSetListener : EventListener\n```\n\n|-------------------------------|\n| [javax.sql.RowSetListener](#) |\n\nAn interface that must be implemented by a component that wants to be notified when a significant event happens in the life of a `RowSet` object. A component becomes a listener by being registered with a `RowSet` object via the method `RowSet.addRowSetListener`. How a registered component implements this interface determines what it does when it is notified of an event.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [cursorMoved](#cursorMoved(javax.sql.RowSetEvent))`(`event:` `[RowSetEvent](/reference/kotlin/javax/sql/RowSetEvent)!`)` Notifies registered listeners that a `RowSet` object's cursor has moved. |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [rowChanged](#rowChanged(javax.sql.RowSetEvent))`(`event:` `[RowSetEvent](/reference/kotlin/javax/sql/RowSetEvent)!`)` Notifies registered listeners that a `RowSet` object has had a change in one of its rows. |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [rowSetChanged](#rowSetChanged(javax.sql.RowSetEvent))`(`event:` `[RowSetEvent](/reference/kotlin/javax/sql/RowSetEvent)!`)` Notifies registered listeners that a `RowSet` object in the given `RowSetEvent` object has changed its entire contents. |\n\nPublic methods\n--------------\n\n### cursorMoved\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun cursorMoved(event: RowSetEvent!): Unit\n```\n\nNotifies registered listeners that a `RowSet` object's cursor has moved.\n\nThe source of the event can be retrieved with the method `event.getSource`.\n\n| Parameters ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `event` | [RowSetEvent](/reference/kotlin/javax/sql/RowSetEvent)!: a `RowSetEvent` object that contains the `RowSet` object that is the source of the event |\n\n### rowChanged\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun rowChanged(event: RowSetEvent!): Unit\n```\n\nNotifies registered listeners that a `RowSet` object has had a change in one of its rows.\n\nThe source of the event can be retrieved with the method `event.getSource`.\n\n| Parameters ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `event` | [RowSetEvent](/reference/kotlin/javax/sql/RowSetEvent)!: a `RowSetEvent` object that contains the `RowSet` object that is the source of the event |\n\n### rowSetChanged\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun rowSetChanged(event: RowSetEvent!): Unit\n```\n\nNotifies registered listeners that a `RowSet` object in the given `RowSetEvent` object has changed its entire contents.\n\nThe source of the event can be retrieved with the method `event.getSource`.\n\n| Parameters ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `event` | [RowSetEvent](/reference/kotlin/javax/sql/RowSetEvent)!: a `RowSetEvent` object that contains the `RowSet` object that is the source of the event |"]]