The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: 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 Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. 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.