public class EventObject extends Object implements Serializable
所有事件状态对象应从其派生的根类。
所有事件的构造与对象的引用,“源”,逻辑上被认为是最初发生事件的对象。
| Constructor and Description |
|---|
EventObject(Object source)
构建一个典型的事件。
|
protected transient Object source
public EventObject(Object source)
source - 事件最初发生的对象。
IllegalArgumentException - 如果source为null。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.