Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

EventObject

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

Class Overview

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

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 the object which fired the event.

Public Methods

public Object getSource ()

Added in API level 1

Returns the object which fired the event.

public String toString ()

Added in API level 1

Returns the string representation of this EventObject .

Returns
  • a printable representation of this object.