public 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.
Modifier and Type | Field and Description |
---|---|
protected Object |
source
The object on which the Event initially occurred.
|
Constructor and Description |
---|
EventObject(Object source)
Constructs a prototypical Event.
|
Modifier and Type | Method and Description |
---|---|
Object |
getSource()
The object on which the Event initially occurred.
|
String |
toString()
Returns a String representation of this EventObject.
|
protected transient Object source
public EventObject(Object source)
IllegalArgumentException
- if source is null.source
- The object on which the Event initially occurred.public Object getSource()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.