|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swtbot.swt.finder.keyboard.AbstractKeyboardStrategy
public abstract class AbstractKeyboardStrategy
Implementors must have a default no-args constructor.
| Field Summary | |
|---|---|
protected org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
protected |
AbstractKeyboardStrategy()
|
| Method Summary | |
|---|---|
void |
init(Widget widget,
SelfDescribing description)
|
protected abstract void |
pressKey(KeyStroke key)
Presses the specified key. |
void |
pressKeys(KeyStroke... keys)
Presses the specified keys. |
protected abstract void |
releaseKey(KeyStroke key)
Releases the specified key. |
void |
releaseKeys(KeyStroke... keys)
Presses the specified keys. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger log
| Constructor Detail |
|---|
protected AbstractKeyboardStrategy()
| Method Detail |
|---|
public void init(Widget widget,
SelfDescribing description)
init in interface KeyboardStrategywidget - 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.protected abstract void pressKey(KeyStroke key)
key - the keystroke to press downprotected abstract void releaseKey(KeyStroke key)
key - the keystroke to release.public void pressKeys(KeyStroke... keys)
KeyboardStrategy
pressKeys in interface KeyboardStrategykeys - the keystrokes to press downpublic void releaseKeys(KeyStroke... keys)
KeyboardStrategy
releaseKeys in interface KeyboardStrategykeys - the keystrokes to press down
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||