Android APIs
public class

EventObject

extends Object
implements Serializable
java.lang.Object
   ↳ java.util.EventObject
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

EventObjects represent events. Typically applications subclass this class to add event specific information.

See also:

Summary

Fields
protected Object source
Public Constructors
EventObject(Object source)
Constructs a new instance of this class.
Public Methods
Object getSource()
Returns the object which fired the event.
String toString()
Returns the string representation of this EventObject.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Object source

Added in API level 1

Public Constructors

public EventObject (Object source)

Added in API level 1

Constructs a new instance of this class.

Parameters
source Object: the object which fired the event.

Public Methods

public Object getSource ()

Added in API level 1

Returns the object which fired the event.

Returns
Object

public String toString ()

Added in API level 1

Returns the string representation of this EventObject.

Returns
String a printable representation of this object.