interface org.aswing.KeyType
Implementors | ||||||
KeySequence, 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{@link http://fever.riaforge.org} accelerator framworks implementation, this is a simpler implementation study from his.
See Also
- org.aswing.Keyboard
- org.aswing.KeySequence
Instance Fields
function getCodeSequence(): Array<Dynamic>
Returns the key code sequence. Same code sequence be track as same key definition.
returns | an array(uint[]) that contains the key codes sequence |
function getDescription(): String
Returns the string that represent the key sequence.
returns | string that represent the key sequence. |