public class KeyboardSimulation extends Object implements GestureAction
| Constructor and Description |
|---|
KeyboardSimulation(String keys)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ResultSet resultSet)
Runs the event handler.
|
Key[] |
getAllKeys()
Returns the selected keys
|
void |
setKeys(Key[] keys)
Set the keys to be pressed.
|
String |
toString()
Returns a description of the action
|
public KeyboardSimulation(String keys)
keys - the keys corresponding to the actionpublic void actionPerformed(ResultSet resultSet)
GestureActionactionPerformed in interface GestureActionresultSet - the result set.public void setKeys(Key[] keys)
keys - the keys corresponding to the actionpublic Key[] getAllKeys()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.