Key is the abstract base class for all objects representing
keys on the keyboard.
All Key objects have a formal string representation, called
the 'name' of the key, available via the toString() method.
All Key objects, via the format() method,
provide a version of their formal string representation translated by
platform and locale, suitable for display to a user.
Key objects are immutable. Clients are not permitted to extend
this class.
since: 3.0 |