Stay organized with collections
Save and categorize content based on your preferences.
RowSetEvent
open class RowSetEvent : EventObject
An Event
object generated when an event occurs to a RowSet
object. A RowSetEvent
object is generated when a single row in a rowset is changed, the whole rowset is changed, or the rowset cursor moves.
When an event occurs on a RowSet
object, one of the RowSetListener
methods will be sent to all registered listeners to notify them of the event. An Event
object is supplied to the RowSetListener
method so that the listener can use it to find out which RowSet
object is the source of the event.
Summary
Public constructors |
Constructs a RowSetEvent object initialized with the given RowSet object.
|
Public constructors
RowSetEvent
RowSetEvent(source: RowSet!)
Constructs a RowSetEvent
object initialized with the given RowSet
object.
Parameters |
source |
RowSet!: the RowSet object whose data has changed or whose cursor has moved |
Exceptions |
java.lang.IllegalArgumentException |
if source is null. |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# RowSetEvent\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRowSetEvent\n===========\n\n```\nopen class RowSetEvent : EventObject\n```\n\n|---|---|----------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [java.util.EventObject](../../java/util/EventObject.html#) ||\n| | ↳ | [javax.sql.RowSetEvent](#) |\n\nAn `Event` object generated when an event occurs to a `RowSet` object. A `RowSetEvent` object is generated when a single row in a rowset is changed, the whole rowset is changed, or the rowset cursor moves.\n\nWhen an event occurs on a `RowSet` object, one of the `RowSetListener` methods will be sent to all registered listeners to notify them of the event. An `Event` object is supplied to the `RowSetListener` method so that the listener can use it to find out which `RowSet` object is the source of the event.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [RowSetEvent](#RowSetEvent(javax.sql.RowSet))`(`source:` `[RowSet](/reference/kotlin/javax/sql/RowSet)!`)` Constructs a `RowSetEvent` object initialized with the given `RowSet` object. |\n\n| Inherited functions ||\n|---|---|\n| From class [EventObject](../../java/util/EventObject.html#) |----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [getSource](../../java/util/EventObject.html#getSource())`()` The object on which the Event initially occurred. \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](../../java/util/EventObject.html#toString())`()` Returns a String representation of this EventObject. \u003cbr /\u003e | ||\n\n| Inherited properties ||\n|---|---|\n| From class [EventObject](../../java/util/EventObject.html#) |-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------| | [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [source](../../java/util/EventObject.html#source:kotlin.Any) The object on which the Event initially occurred. \u003cbr /\u003e | ||\n\nPublic constructors\n-------------------\n\n### RowSetEvent\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nRowSetEvent(source: RowSet!)\n```\n\nConstructs a `RowSetEvent` object initialized with the given `RowSet` object.\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------------------|\n| `source` | [RowSet](/reference/kotlin/javax/sql/RowSet)!: the `RowSet` object whose data has changed or whose cursor has moved |\n\n| Exceptions ||\n|--------------------------------------|----------------------|\n| `java.lang.IllegalArgumentException` | if `source` is null. |"]]