org.fife.ui.rtextarea
Class RTADefaultInputMap

java.lang.Object
  extended by javax.swing.InputMap
      extended by org.fife.ui.rtextarea.RTADefaultInputMap
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RSyntaxTextAreaDefaultInputMap

public class RTADefaultInputMap
extends javax.swing.InputMap

The default input map for an RTextArea. For the most part it is exactly that the one for a JTextArea, but it adds a few things. Currently, the new key bindings include:

See Also:
Serialized Form

Constructor Summary
RTADefaultInputMap()
          Constructs the default input map for an RTextArea.
 
Method Summary
protected static int getDefaultModifier()
          Returns the default modifier key for a system.
 
Methods inherited from class javax.swing.InputMap
allKeys, clear, get, getParent, keys, put, remove, setParent, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTADefaultInputMap

public RTADefaultInputMap()
Constructs the default input map for an RTextArea.

Method Detail

getDefaultModifier

protected static final int getDefaultModifier()
Returns the default modifier key for a system. For example, on Windows this would be the CTRL key (InputEvent.CTRL_MASK).

Returns:
The default modifier key.