javax.swing.text

Class JTextComponent.KeyBinding

public static class JTextComponent.KeyBinding extends Object

Field Summary
StringactionName
KeyStrokekey
Constructor Summary
KeyBinding(KeyStroke key, String actionName)
Creates a new KeyBinding instance.

Field Detail

actionName

public String actionName

key

public KeyStroke key

Constructor Detail

KeyBinding

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

Parameters: key a KeyStroke value actionName a String value