public class EventObject extends Object implements Serializable
派生的所有事件状态对象的根类。
所有的事件都是建立在一个参考对象,“源”,即在逻辑上被认为是该事件发生后,在最初发生的对象。
Constructor and Description |
---|
EventObject(Object source)
构造一个原型事件。
|
protected transient Object source
public EventObject(Object source)
source
-对象上的事件开始发生时。
IllegalArgumentException
如果源是空的。
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.