|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.util
Class EventObject

java.lang.Objectjava.util.EventObject
- All Implemented Interfaces:
- java.io.Serializable
- public class EventObject
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
Represents Events fired by Objects.
- Since:
- 1.1
| Field Summary | |
private static long |
serialVersionUID
Compatible with JDK 1.1+. |
protected java.lang.Object |
source
The source object; in other words, the object which this event takes place on. |
| Constructor Summary | |
EventObject(java.lang.Object source)
Constructs an EventObject with the specified source. |
|
| Method Summary | |
java.lang.Object |
getSource()
Returns the source of the event. |
java.lang.String |
toString()
Converts the event to a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- Compatible with JDK 1.1+.
- See Also:
- Constant Field Values
source
protected transient java.lang.Object source
- The source object; in other words, the object which this event takes
place on.
| Constructor Detail |
EventObject
public EventObject(java.lang.Object source)
- Constructs an EventObject with the specified source.
| Method Detail |
getSource
public java.lang.Object getSource()
- Returns the source of the event.
toString
public java.lang.String toString()
- Converts the event to a String. The format is not specified, but by
observation, the JDK uses:
getClass().getName() + "[source=" + source + "]";.
|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
java.util.EventObject