软件包 | 描述 |
---|---|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Method and Description |
---|---|
protected Keymap |
BasicTextUI.createKeymap()
创造你所使用的文本组件,并安装任何所需的绑定到它。
|
Modifier and Type | Method and Description |
---|---|
static Keymap |
JTextComponent.addKeymap(String nm, Keymap parent)
添加到映射层次新的键盘布局。
|
Keymap |
JTextComponent.getKeymap()
取你所该文本组件目前活跃。
|
static Keymap |
JTextComponent.getKeymap(String nm)
获取一个名叫keymap先前添加到文档。
|
Keymap |
Keymap.getResolveParent()
获取用于解决密钥绑定父键映射。
|
static Keymap |
JTextComponent.removeKeymap(String nm)
删除命名映射之前添加到文档。
|
Modifier and Type | Method and Description |
---|---|
static Keymap |
JTextComponent.addKeymap(String nm, Keymap parent)
添加到映射层次新的键盘布局。
|
static void |
JTextComponent.loadKeymap(Keymap map, JTextComponent.KeyBinding[] bindings, Action[] actions)
加载一大堆绑定键映射。
|
void |
JTextComponent.setKeymap(Keymap map)
设置用于绑定事件行为的映射。
|
void |
Keymap.setResolveParent(Keymap parent)
集父键映射,将用于解决关键的绑定。
|
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.