软件包 | 描述 |
---|---|
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 WindowFocusListener |
AWTEventMulticaster.add(WindowFocusListener a, WindowFocusListener b)
增加了window-focus-listener-a与window-focus-listener-b并返回产生的组播侦听者。
|
WindowFocusListener[] |
Window.getWindowFocusListeners()
返回在这个窗口上注册的所有窗口焦点侦听器的数组。
|
static WindowFocusListener |
AWTEventMulticaster.remove(WindowFocusListener l, WindowFocusListener oldl)
除去旧的窗口焦点的听众从window-focus-listener-l并返回产生的组播侦听者。
|
Modifier and Type | Method and Description |
---|---|
static WindowFocusListener |
AWTEventMulticaster.add(WindowFocusListener a, WindowFocusListener b)
增加了window-focus-listener-a与window-focus-listener-b并返回产生的组播侦听者。
|
void |
Window.addWindowFocusListener(WindowFocusListener l)
添加指定的窗口焦点侦听器从该窗口接收窗口事件。
|
static WindowFocusListener |
AWTEventMulticaster.remove(WindowFocusListener l, WindowFocusListener oldl)
除去旧的窗口焦点的听众从window-focus-listener-l并返回产生的组播侦听者。
|
void |
Window.removeWindowFocusListener(WindowFocusListener 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.