| Package | Description |
|---|---|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| Modifier and Type | Method and Description |
|---|---|
protected Keymap |
BasicTextUI.createKeymap()
Creates the keymap to use for the text component, and installs any necessary bindings into it.
|
| Modifier and Type | Method and Description |
|---|---|
static Keymap |
JTextComponent.addKeymap(String
Adds a new keymap into the keymap hierarchy.
|
Keymap |
JTextComponent.getKeymap()
Fetches the keymap currently active in this text component.
|
static Keymap |
JTextComponent.getKeymap(String
Fetches a named keymap previously added to the document.
|
Keymap |
Keymap.getResolveParent()
Fetches the parent keymap used to resolve key-bindings.
|
static Keymap |
JTextComponent.removeKeymap(String
Removes a named keymap previously added to the document.
|
| Modifier and Type | Method and Description |
|---|---|
static Keymap |
JTextComponent.addKeymap(String
Adds a new keymap into the keymap hierarchy.
|
static void |
JTextComponent.loadKeymap(Keymap
Loads a keymap with a bunch of bindings.
|
void |
JTextComponent.setKeymap(Keymap
Sets the keymap to use for binding events to actions.
|
void |
Keymap.setResolveParent(Keymap
Sets the parent keymap, which will be used to resolve key-bindings.
|