Overview | Package | 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

public class EventObject
extends java.lang.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
java.lang.Object source
           
 
Constructor Summary
EventObject(java.lang.Object source)
          Constructs a prototypical Event
 
Method Summary
java.lang.Object getSource()
           
java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

source

protected transient java.lang.Object source
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.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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