软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultKeyboardFocusManager
AWT应用程序的默认keyboardfocusmanager。
|
Modifier and Type | Method and Description |
---|---|
static KeyboardFocusManager |
KeyboardFocusManager.getCurrentKeyboardFocusManager()
返回调用线程的上下文的当前keyboardfocusmanager实例。
|
Modifier and Type | Method and Description |
---|---|
static void |
KeyboardFocusManager.setCurrentKeyboardFocusManager(KeyboardFocusManager newManager)
设置为调用线程的上下文的当前keyboardfocusmanager实例。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFocusManager
这类被淘汰的1.4个焦点的API。
|
class |
FocusManager
这类被淘汰的1.4个焦点的API。
|
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.