|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyboardStrategy
A strategy that can type keys on the keyboard. Implementors are adviced to use AbstractKeyboardStrategy
and
must have a default no-args constructor.
AbstractKeyboardStrategy
Method Summary | |
---|---|
void |
init(Widget widget,
SelfDescribing description)
|
void |
pressKeys(KeyStroke... keys)
Presses the specified keys. |
void |
releaseKeys(KeyStroke... keys)
Presses the specified keys. |
Method Detail |
---|
void init(Widget widget, SelfDescribing description)
widget
- the widget on which this keyboard may type. Note that it is not necessary that the strategy
actually types on this widget.description
- the description of the widget.void pressKeys(KeyStroke... keys)
keys
- the keystrokes to press downvoid releaseKeys(KeyStroke... keys)
keys
- the keystrokes to press down
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |