EventObjectNameEventObjectSynopsis
DescriptionThe EventObject class is the superclass of all other classes that represent events in the Java 1.1 event model. The class is named EventObject to avoid confusion with java.awt.Event, which was used to represent events in the old Java 1.0 event model. Class Summary
public class java.util.EventObject extends java.lang.Object implements java.io.Serializable { // Variables protected transient Object source; // Constructors public EventObject(Object source); // Instance Methods public Object getSource(); public String toString(); } Variablessourceprotected transient Object source
ConstructorsEventObjectpublic EventObject(Object source)
Instance MethodsgetSourcepublic Object getSource()
toStringpublic String toString()
Inherited Methods
See AlsoAWTEvent, Event, Serializable |
|