Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class java.util.EventObject

java.lang.Object
  |
  +--java.util.EventObject
Subclasses:
AWTEvent

public class EventObject
extends Object
implements java.io.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.

See Also:
Serialized Form

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

Field Detail

source

protected transient Object source
Constructor Detail

EventObject

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

getSource

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

toString

public String toString()
Overrides:
toString in class Object

Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD