public static class JTextComponent.KeyBinding extends Object
Modifier and Type | Field and Description |
---|---|
String |
actionName |
KeyStroke |
key |
Constructor and Description |
---|
JTextComponent.KeyBinding(KeyStroke key,
String actionName)
Creates a new
KeyBinding instance. |
public String actionName
public JTextComponent.KeyBinding(KeyStroke key, String actionName)
KeyBinding
instance.key
- a KeyStroke
valueactionName
- a String
value