Packageorg.aswing
Interfacepublic interface KeyType
ImplementorsKeySequence, KeyStroke

KeyType defined with description representing the key sequence with a string, codeSequence contains the key codes sequence. Same codeSequence will be considered as same key definition.

For example "C" and [67] mean the C key on the key board. "Ctrl+C" and [17, 67] mean the first Ctrl and then C keys.

Thanks Romain for his Fever{

See also

org.aswing.Keyboard
org.aswing.KeySequence


Public Methods
 MethodDefined by
  
Returns the key code sequence.
KeyType
  
getDescription():String
Returns the string that represent the key sequence.
KeyType
Method detail
getCodeSequence()method
public function getCodeSequence():Array

Returns the key code sequence. Same code sequence be track as same key definition.

Returns
Array — an array(uint[]) that contains the key codes sequence
getDescription()method 
public function getDescription():String

Returns the string that represent the key sequence.

Returns
String — string that represent the key sequence.