public class EventObject extends Object implements Serializable
EventListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
source
The source object; in other words, the object which this event takes
place on.
|
| Constructor and Description |
|---|
EventObject(Object source)
Constructs an EventObject with the specified source.
|
public EventObject(Object source)
source - the source of the eventIllegalArgumentException - if source is null (This is not
specified, but matches the behavior of the JDK)public String toString()
getClass().getName() + "[source=" + source + "]";.toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)