Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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 Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.