A KeySequence is defined as a list of zero or more KeyStrokes, with the stipulation that all KeyStroke objects must be complete, save for the last one, whose completeness is optional. A KeySequence is said to be complete if all of its KeyStroke objects are complete.
All KeySequence objects have a formal string representation available via the toString() method. There are a number of methods to get instances of KeySequence objects, including one which can parse this formal string representation.
All KeySequence objects, via the format() method, provide a version of their formal string representation translated by platform and locale, suitable for display to a user.
KeySequence objects are immutable. Clients are not permitted to extend this class.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |