Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.swing.text.Keymap

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
`Keymap` | `JTextComponent.getKeymap()` Fetches the keymap currently active in this text component.
`static Keymap` | `JTextComponent.addKeymap(String nm, Keymap parent)` Adds a new keymap into the keymap hierarchy.
`static Keymap` | `JTextComponent.removeKeymap(String nm)` Removes a named keymap previously added to the document.
`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.

Methods in javax.swing.text with parameters of type Keymap
`void` | `JTextComponent.setKeymap(Keymap map)` Sets the keymap to use for binding events to actions.
`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` | `Keymap.setResolveParent(Keymap parent)` Sets the parent keymap, which will be used to resolve key-bindings.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.