Added in API level 1

EventObject

open class EventObject : Serializable
kotlin.Any
   ↳ java.util.EventObject

The root class from which all event state objects shall be derived.

All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.

Summary

Public constructors
EventObject(source: Any!)

Constructs a prototypical Event.

Public methods
open Any!

The object on which the Event initially occurred.

open String

Returns a String representation of this EventObject.

Properties
Any!

The object on which the Event initially occurred.

Public constructors

EventObject

Added in API level 1
EventObject(source: Any!)

Constructs a prototypical Event.

Parameters
source Any!: the object on which the Event initially occurred
Exceptions
java.lang.IllegalArgumentException if source is null

Public methods

getSource

Added in API level 1
open fun getSource(): Any!

The object on which the Event initially occurred.

Return
Any! the object on which the Event initially occurred

toString

Added in API level 1
open fun toString(): String

Returns a String representation of this EventObject.

Return
String a String representation of this EventObject

Properties

source

Added in API level 1
protected var source: Any!

The object on which the Event initially occurred.