Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.ide.keyboard
Class MultiInputMap

java.lang.Object
  extended by javax.swing.InputMap
      extended by oracle.ide.keyboard.MultiInputMap

All Implemented Interfaces:
java.io.Serializable

public final class MultiInputMap
extends javax.swing.InputMap

An InputMap that can handle multiple keys like Ctrl+K, S

See Also:
Serialized Form

Field Summary
static javax.swing.Action NULL_ACTION
           
static java.lang.Object NULL_ACTION_BIND
           

 

Constructor Summary
MultiInputMap()
           
MultiInputMap(boolean bTerminator)
           

 

Method Summary
 void clear()
           
 java.lang.Object get(javax.swing.KeyStroke keyStroke)
           
static boolean isInKeySequence()
          Returns true if the user typed the start of a valid KeyStroke sequence.
 javax.swing.KeyStroke[] keys()
           
 void put(javax.swing.KeyStroke keyStroke, java.lang.Object actionMapKey)
           
 void put(KeyStrokes keyStrokes, java.lang.Object actionMapKey)
          Same as InputMap.put(KeyStroke,Object) except this one takes KeyStrokes
 void remove(javax.swing.KeyStroke key)
           
 int size()
           

 

Methods inherited from class javax.swing.InputMap
allKeys, getParent, setParent

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

NULL_ACTION

public static final javax.swing.Action NULL_ACTION

NULL_ACTION_BIND

public static final java.lang.Object NULL_ACTION_BIND

Constructor Detail

MultiInputMap

public MultiInputMap()

MultiInputMap

public MultiInputMap(boolean bTerminator)

Method Detail

isInKeySequence

public static boolean isInKeySequence()
Returns true if the user typed the start of a valid KeyStroke sequence. Ex: If "Ctrl+K, S" is the shortcut for save, and the user typed "Ctrl+K", this method returns true.

get

public java.lang.Object get(javax.swing.KeyStroke keyStroke)
Overrides:
get in class javax.swing.InputMap

put

public void put(KeyStrokes keyStrokes,
                java.lang.Object actionMapKey)
Same as InputMap.put(KeyStroke,Object) except this one takes KeyStrokes

put

public void put(javax.swing.KeyStroke keyStroke,
                java.lang.Object actionMapKey)
Overrides:
put in class javax.swing.InputMap

remove

public void remove(javax.swing.KeyStroke key)
Overrides:
remove in class javax.swing.InputMap

clear

public void clear()
Overrides:
clear in class javax.swing.InputMap

keys

public javax.swing.KeyStroke[] keys()
Overrides:
keys in class javax.swing.InputMap

size

public int size()
Overrides:
size in class javax.swing.InputMap

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.