public class SystemInputManager extends AbstractService implements ISystemInput
| Modifier and Type | Method and Description |
|---|---|
void |
click(Point location,
com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button,
int numClicks,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
Clicks MouseButton a specified number of times with zero or more modifiers held down.
|
void |
init() |
void |
keyDown(String key,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers) |
void |
keyPress(String key,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
Presses key, optionally with one or more modifiers held down.
|
void |
keyUp(String key,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers) |
void |
mouseDown(Point location,
com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers) |
void |
mouseMove(Point location,
com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers) |
void |
mouseUp(Point location,
com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button,
List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers) |
buildPayload, executeCommand, executeCommand, executeCommand, getVersion, isVersionInRange, xpathIterator, xpathPointerpublic void init()
public void click(Point location, com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button, int numClicks, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
ISystemInputclick in interface ISystemInputlocation - - Point to clickbutton - - MouseButton to clicknumClicks - - number of clicksmodifiers - - modifiers to hold down during clickpublic void mouseMove(Point location, com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
mouseMove in interface ISystemInputpublic void mouseUp(Point location, com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
mouseUp in interface ISystemInputpublic void mouseDown(Point location, com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton button, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
mouseDown in interface ISystemInputpublic void keyPress(String key, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
ISystemInputkeyPress in interface ISystemInputkey - - key to pressmodifiers - - modifiers to holdpublic void keyDown(String key, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
keyDown in interface ISystemInputpublic void keyUp(String key, List<com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed> modifiers)
keyUp in interface ISystemInput