Uses of Interface
javax.swing.text.Keymap
Packages that use Keymap
Package
Description
Provides user interface objects built according to the Basic look and feel.
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 KeymapModifier and TypeMethodDescriptionprotected KeymapBasicTextUI.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 KeymapModifier and TypeMethodDescriptionstatic KeymapAdds a new keymap into the keymap hierarchy.JTextComponent.getKeymap()Fetches the keymap currently active in this text component.static KeymapFetches a named keymap previously added to the document.Keymap.getResolveParent()Fetches the parent keymap used to resolve key-bindings.static KeymapJTextComponent.removeKeymap(String nm) Removes a named keymap previously added to the document.Methods in javax.swing.text with parameters of type KeymapModifier and TypeMethodDescriptionstatic KeymapAdds a new keymap into the keymap hierarchy.static voidJTextComponent.loadKeymap(Keymap map, JTextComponent.KeyBinding[] bindings, Action[] actions) Loads a keymap with a bunch of bindings.voidSets the keymap to use for binding events to actions.voidKeymap.setResolveParent(Keymap parent) Sets the parent keymap, which will be used to resolve key-bindings.