KeyEvent.from_string


Description:

public KeyEvent.from_string (string key) throws KeyEventFormatError

Create a key event from string.

Parameters:

key

a string representation of a key event

Returns:

a new KeyEvent