SerializableConnectionEvent, HandshakeCompletedEvent, NodeChangeEvent, PreferenceChangeEvent, PropertyChangeEvent, RowSetEvent, SSLSessionBindingEvent, StatementEventpublic class EventObject extends Object implements Serializable
The root class from which all event state objects shall be derived.
All Events 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.
| 构造器 | 说明 |
|---|---|
EventObject(Object source) |
Constructs a prototypical Event.
|
protected transient Object source
public EventObject(Object source)
source - The object on which the Event initially occurred.IllegalArgumentException - if source is null.public Object getSource()