java.util.EventObject (JDK 1.1)
EventObject serves as a superclass for all events objects used by the Java 1.1 AWT event model and the JavaBeans event model. This class defines a very generic type of event; it is extended by the more specific event classes in the java.awt, java.awt.event, and java.beans packages.
The only common feature shared by all events is a source object, which is the object that in some way "generated" the event. The source object is passed to the EventObject() constructor, and is returned by the getSource() method.
public classEventObjectextends Object implements Serializable { //Public ConstructorpublicEventObject(Objectsource); //Protected Instance Variablesprotected transient Objectsource; //Public Instance Methodspublic ObjectgetSource(); public StringtoString(); //Overrides Object}
Extended By:
AWTEvent, PropertyChangeEvent