public class EventObject extends Object implements Serializable
EventObjects represent events. Typically applications subclass this class to
add event specific information.EventListener,
Serialized Form| Constructor and Description |
|---|
EventObject(Object source)
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getSource()
Returns the object which fired the event.
|
String |
toString()
Returns the string representation of this
EventObject. |