Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: awt ::
struct KeyStroke
Description Describes a key stroke for hotkeys etc. Since version OpenOffice.org 1.1.1

Elements' Summary
Modifiers | contains the modifier keys which were pressed while the event occurred.
KeyCode | contains the integer code representing the key of the event.
KeyChar | contains the Unicode character generated by this event or 0.
KeyFunc | contains the function type of the key event.

Elements' Details
Modifiers
short Modifiers; Description contains the modifier keys which were pressed while the event occurred. Zero or more constants from the group KeyModifier .
KeyCode
short KeyCode; Description contains the integer code representing the key of the event. This is a constant from the constant group Key .
KeyChar
char KeyChar; Description contains the Unicode character generated by this event or 0.
KeyFunc
short KeyFunc; Description contains the function type of the key event. This is a constant from the constant group KeyFunction .

Top of Page

Copyright © 2003 Sun Microsystems, Inc.