java.util
Class EventObject

java.lang.Object
  |
  +--java.util.EventObject
Direct Known Subclasses:
BridgeTesterEvent, EncapsulatedEvent, sunw.util.EventObject, HttpProxyChangedEvent, QuoteEvent

public abstract class EventObject
extends java.lang.Object

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.


Constructor Summary
EventObject(java.lang.Object source)
          Constructs a prototypical Event
 
Method Summary
 java.lang.Object getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventObject

public EventObject(java.lang.Object source)
Constructs a prototypical Event
Parameters:
source - The object that the Event occurred upon.
Method Detail

getSource

public java.lang.Object getSource()
Returns:
The object that the Event initially occurred upon.