javax.swing.text
Class JTextComponent.KeyBinding
java.lang.Object
javax.swing.text.JTextComponent.KeyBinding
- Enclosing class:
- JTextComponent
public static class JTextComponent.KeyBinding
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
public KeyStroke key
actionName
public String actionName
JTextComponent.KeyBinding
public JTextComponent.KeyBinding(KeyStroke key,
String actionName)
- Creates a new
KeyBinding
instance.
- Parameters:
key
- a KeyStroke
valueactionName
- a String
value