Interface KeyTranslator<K>
- Type Parameters:
K
- K - the type of the values
- All Known Implementing Classes:
DefaultKeyTranslator
public interface KeyTranslator<K>
KeyTranslator interface, used to translate virtual key codes to values
-
Method Summary
Modifier and TypeMethodDescriptiontranslate
(int key) Translate an virtual key code to a valueGet an untranslatable value
-
Method Details
-
translate
Translate an virtual key code to a value- Parameters:
key
- - the virtual key code- Returns:
- the translated value
-
untranslatable
-