public interface AWTEventListener extends EventListener
感兴趣于监控AWT事件的类实现了此接口,并且使用该工具包的addAWTEventListener
方法将使用该类创建的对象注册到Toolkit。 当在AWT的任何地方发送事件时,将调用该对象的eventDispatched
方法。
Modifier and Type | Method and Description |
---|---|
void |
eventDispatched(AWTEvent event)
在AWT中调度事件时调用。
|
void eventDispatched(AWTEvent event)
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.