JSR-209 (Final Release)

Uses of Interface
javax.swing.text.Keymap

Packages that use Keymap
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

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(java.lang.String nm, Keymap parent)
          Adds a new keymap into the keymap hierarchy.
static Keymap JTextComponent.removeKeymap(java.lang.String nm)
          Removes a named keymap previously added to the document.
static Keymap JTextComponent.getKeymap(java.lang.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(java.lang.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.
 


JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.