EventObject - JRE Emulation | JRE Emulation
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
Public Constructors
EventObject(Object source)
Constructs a new instance of this class.
Public Methods
Object getSource()
Returns the object which fired the event.
String toString()
Returns the string representation of this EventObject.
Inherited Methods
[Expand]
From class java.lang.Object

Fields

protected Object 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 object which fired the event.

public String toString ()

Returns the string representation of this EventObject.

Returns
  • a printable representation of this object.