public abstract class OperaUIElement extends Object
| Constructor and Description |
|---|
OperaUIElement(SystemInput systemInputManager,
DesktopUtils desktopUtils) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(SystemInputProtos.MouseInfo.MouseButton button,
int numClicks,
List<SystemInputProtos.ModifierPressed> modifiers) |
protected Point |
getCenterLocation() |
protected DesktopUtils |
getDesktopUtils() |
Point |
getLocation() |
abstract DesktopWmProtos.DesktopWindowRect |
getRect() |
Dimension |
getSize() |
protected SystemInput |
getSystemInputManager() |
abstract String |
getText() |
void |
hover()
Hovers Element
|
boolean |
isVisible() |
abstract String |
toFullString() |
boolean |
verifyContainsText(String stringId)
Checks if widget text contains the text specified by the given string id
|
boolean |
verifyText(String stringId)
Checks if widget text equals the text specified by the given string id
|
public OperaUIElement(SystemInput systemInputManager, DesktopUtils desktopUtils)
protected SystemInput getSystemInputManager()
protected DesktopUtils getDesktopUtils()
public abstract DesktopWmProtos.DesktopWindowRect getRect()
public Point getLocation()
public boolean isVisible()
public Dimension getSize()
public abstract String toFullString()
public void click(SystemInputProtos.MouseInfo.MouseButton button, int numClicks, List<SystemInputProtos.ModifierPressed> modifiers)
protected Point getCenterLocation()
public void hover()
public boolean verifyText(String stringId)
public boolean verifyContainsText(String stringId)
stringId - String id of stringpublic abstract String getText()
Copyright © 2012. All Rights Reserved.