From Documentation

Jump to: navigation, search




Contents


Stroke

All components that inherit HtmlBasedComponent supports this operation. When calling stroke() , you have to provide special string for control keys. Please refer to Keystroke Handling in Developer's Reference.

For example, ^#left means Ctrl+Left, and @#f3 means Alt+F3.


component.as(KeyStrokeAgent.class).stroke("$#left");

Supported Components

Components
Version
Note
Sub-class of HtmlBasedComponent 5, 6








Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.