Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

struct KeyStroke
Description
Describes a key stroke for hotkeys etc.
Since
OOo 1.1.2

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.