Google is committed to advancing racial equity for Black communities. See how.
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
<init>(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

<init>

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 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.