软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
Modifier and Type | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster 实现高效的线程安全多播事件在
java.awt.event 包中定义的AWT事件调度。
|
Modifier and Type | Method and Description |
---|---|
static WindowStateListener |
AWTEventMulticaster.add(WindowStateListener a, WindowStateListener b)
增加了window-state-listener-a与window-state-listener-b并返回产生的组播侦听者。
|
WindowStateListener[] |
Window.getWindowStateListeners()
返回在这个窗口上注册的所有窗口状态侦听器的数组。
|
static WindowStateListener |
AWTEventMulticaster.remove(WindowStateListener l, WindowStateListener oldl)
从window-state-listener-l除去旧的窗口状态的听众并返回产生的组播侦听者。
|
Modifier and Type | Method and Description |
---|---|
static WindowStateListener |
AWTEventMulticaster.add(WindowStateListener a, WindowStateListener b)
增加了window-state-listener-a与window-state-listener-b并返回产生的组播侦听者。
|
void |
Window.addWindowStateListener(WindowStateListener l)
添加指定的窗口状态侦听器从该窗口接收窗口事件。
|
static WindowStateListener |
AWTEventMulticaster.remove(WindowStateListener l, WindowStateListener oldl)
从window-state-listener-l除去旧的窗口状态的听众并返回产生的组播侦听者。
|
void |
Window.removeWindowStateListener(WindowStateListener l)
移除指定的窗口状态侦听器,以便它不再接收来自该窗口的窗口事件。
|
Modifier and Type | Class and Description |
---|---|
class |
WindowAdapter
用于接收窗口事件的抽象适配器类。
|
Modifier and Type | Class and Description |
---|---|
protected class |
JMenu.WinListener
一个监听器类,一个弹出窗口关闭手表。
|
Modifier and Type | Class and Description |
---|---|
protected class |
BasicToolBarUI.FrameListener |
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.