|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Keymap | |
---|---|
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. |
Uses of Keymap in javax.swing.plaf.basic |
---|
Methods in javax.swing.plaf.basic that return Keymap | |
---|---|
protected Keymap |
BasicTextUI.createKeymap()
Creates the keymap to use for the text component, and installs any necessary bindings into it. |
Uses of Keymap in javax.swing.text |
---|
Methods in javax.swing.text that return Keymap | |
---|---|
static Keymap |
JTextComponent.addKeymap(String nm,
Keymap parent)
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 nm)
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 nm)
Removes a named keymap previously added to the document. |
Methods in javax.swing.text with parameters of type Keymap | |
---|---|
static Keymap |
JTextComponent.addKeymap(String nm,
Keymap parent)
Adds a new keymap into the keymap hierarchy. |
static void |
JTextComponent.loadKeymap(Keymap map,
JTextComponent.KeyBinding[] bindings,
Action[] actions)
Loads a keymap with a bunch of bindings. |
void |
JTextComponent.setKeymap(Keymap map)
Sets the keymap to use for binding events to actions. |
void |
Keymap.setResolveParent(Keymap parent)
Sets the parent keymap, which will be used to resolve key-bindings. |
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.