public class

EventObject

extends Object
implements Serializable
java.lang.Object
   ↳ java.util.EventObject
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

EventObjects represent events. Typically applications subclass this class to add event specific information.

See Also

Summary

Fields
protected Object source The event source.
Public Constructors
EventObject(Object source)
Constructs a new instance of this class.
Public Methods
Object getSource()
Returns the event source.
String toString()
Returns the string representation of this EventObject.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Object source

The event source.

Public Constructors

public EventObject (Object source)

Constructs a new instance of this class.

Parameters
source the object which fired the event.

Public Methods

public Object getSource ()

Returns the event source.

Returns
  • the object which fired the event.

public String toString ()

Returns the string representation of this EventObject.

Returns
  • the string representation of this EventObject.