|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected transient Object source
| Constructor Detail |
|---|
public EventObject(Object source)
source - The object on which the Event initially occurred.IllegalArgumentException - if source is null.| Method Detail |
|---|
public Object getSource()
public String toString()
toString in class Object
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.