javax.swing.text
Class JTextComponent.KeyBinding

java.lang.Object
  extended by javax.swing.text.JTextComponent.KeyBinding
Enclosing class:
JTextComponent

public static class JTextComponent.KeyBinding
extends Object


Field Summary
 String actionName
           
 KeyStroke key
           
 
Constructor Summary
JTextComponent.KeyBinding(KeyStroke key, String actionName)
          Creates a new KeyBinding instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public KeyStroke key

actionName

public String actionName
Constructor Detail

JTextComponent.KeyBinding

public JTextComponent.KeyBinding(KeyStroke key,
                                 String actionName)
Creates a new KeyBinding instance.

Parameters:
key - a KeyStroke value
actionName - a String value