Class java.util.EventObject
java.lang.Object
|
+--java.util.EventObject
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
EventObject
public EventObject(java.lang.Object source)
- Constructs a prototypical Event
- Parameters:
source
- The object that the Event occurred upon.
getSource
public java.lang.Object getSource()
- Returns:
- The object that the Event initially occurred upon.