Package java.util
Class EventObject
- java.lang.Object
-
- java.util.EventObject
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionEvent,HandshakeCompletedEvent,NodeChangeEvent,PreferenceChangeEvent,PropertyChangeEvent,RowSetEvent,SSLSessionBindingEvent,StatementEvent
public class EventObject extends Object implements Serializable
EventObjects represent events. Typically applications subclass this class to add event specific information.- See Also:
EventListener, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventObject(Object source)Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetSource()Returns the object which fired the event.StringtoString()Returns the string representation of thisEventObject.
-