All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.util.EventObject

java.lang.Object
    |
    +----java.util.EventObject

public class EventObject
extends Object
implements Serializable

The Event class is the abstract root class from which all event state objects shall be derived.

All Event's 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.


Variable Index

 o source

Constructor Index

 o EventObject(Object)
Constructs a prototypical Event

Method Index

 o getSource()
 o toString()
Returns a string representation of the object.

Variables

 o source
protected transient Object source

Constructors

 o EventObject
public EventObject(Object source)
Constructs a prototypical Event

Parameters:
source - The object that the Event occurred upon.

Methods

 o getSource
public Object getSource()
Returns:
The object that the Event initially occurred upon.
 o toString
public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature