KeyStrokeAgent
From Documentation
All components that inherit HtmlBasedComponent support this operation. When calling stroke() , you have to provide special string for control keys. Please refer to [1].
For example, ^#left means Ctrl+Left, and @#f3 means Alt+F3.
component.as(KeyStrokeAgent.class).stroke("$#left");