

Since these numbers are all different powers of two, any combination of

The modifiers consist of any combination of following: This is to avoid inadvertent clashes with calls to Note that the first parameter is of type Character That represents a KEY_TYPED event for the Has been added to the java.beans package. The current serialization support isĪppropriate for short term storage or RMI between applications running Serialized objects of this class will not be compatible withįuture Swing releases. These factory methods allow the KeyStroke implementation to cache
Hyperterm keystroke doubleing code#
Client code cannotĬreate a KeyStroke a variant of getKeyStroke must be used KeyStrokes are immutable, and are intended to be unique. Interested in, those keystrokes you care about automatically initiateĪctions on the Components with which they are registered. Of trapping every keystroke and throwing away the ones you are not KeyStrokes are used to define high-level (semantic) action events. In all cases, KeyStrokes can specify modifiers (alt, shift,Ĭontrol, meta, altGraph, or a combination thereof) which must be present during the Key, just as KEY_PRESSED and KEY_RELEASED KeyEvents do alternately, theyĬan correspond to typing a specific Java character, just as KEY_TYPED KeyStrokes can correspond to only a press or release of a particular A KeyStroke represents a key action on the keyboard, or equivalent inputĭevice.
