Android
java.util
public class

java.util.EventObject

java.lang.Object
java.util.EventObject Serializable

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

Known Direct Subclasses

See Also

Summary

Fields

protected      Object  source  The event source. 

Public Constructors

            EventObject(Object source)
Constructs a new instance of this class.

Public Methods

          Object  getSource()
Returns the event source.
          String  toString()
Returns the string representation of this EventObject.
Methods inherited from class java.lang.Object

Details

Fields

protected Object source

The event source.

Public Constructors

public EventObject(Object source)

Constructs a new instance of this class.

Parameters

source the object which fired the event

Public Methods

public Object getSource()

Returns the event source.

Returns

  • the object which fired the event

public String toString()

Returns the string representation of this EventObject.

Returns

  • the string representation of this EventObject
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56