Class SKeyEvent

All Implemented Interfaces:
Serializable

public class SKeyEvent extends SInputEvent
Surrogate-side port of KeyEvent. Extends SInputEvent so the full modifier API (isShiftDown, etc.) is available. Source retyped from Component to Component per SD_event_port_stance.

The VK_* constant surface below is AWT's, by delegation rather than by value: republishing it here means migrated code needs no parallel java.awt.event.KeyEvent import, while every value remains AWT's own and stays correct however AWT evolves. For the same reason getKeyText(int) and isActionKey() answer by asking AWT rather than carrying a second copy of its tables. The block is emitted by DelegatedConstantsTest from AWT's public runtime API — read that test before editing it by hand. Mirrors the emulator-side vaadinx.awt.event.KeyEvent port, which keeps its own copy (SD_shelper_statics: cross-module reuse is disallowed, so the constants exist twice — accepted).

See Also: