public class QuickWidget extends OperaUIElement
| Modifier and Type | Class and Description |
|---|---|
static class |
QuickWidget.DropPosition |
| Constructor and Description |
|---|
QuickWidget(DesktopUtils desktopUtils,
ScopeSystemInputManager inputManager,
DesktopWmProtos.QuickWidgetInfo info,
int parentWindowId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dragAndDropOn(QuickWidget widget,
QuickWidget.DropPosition dropPos)
Drags this widget onto the specified widget at the given drop position
|
String |
getAdditionalText()
Gets additional text of this widget.
|
int |
getColumn()
Gets the column of the widget within its parent, e.g.
|
String |
getName() |
String |
getParentName()
Gets name of parent widget of this widget
|
int |
getParentWindowId()
Gets window id of this widgets parent window.
|
DesktopWmProtos.DesktopWindowRect |
getRect() |
int |
getRow()
Gets the row of the widget within its parent, e.g.
|
String |
getText() |
DesktopWmProtos.QuickWidgetInfo.QuickWidgetType |
getType() |
protected int |
getValue() |
String |
getVisibleText()
Gets the visible text of the widget.
|
boolean |
hasFocusedLook() |
boolean |
isDefault()
Checks if widget is default.
|
boolean |
isEnabled()
Checks if widget is enabled.
|
boolean |
isSelected() |
boolean |
isSelected(String stringId) |
boolean |
isVisible() |
String |
toFullString() |
String |
toString() |
click, getCenterLocation, getDesktopUtils, getLocation, getSize, getSystemInputManager, hover, verifyContainsText, verifyTextpublic QuickWidget(DesktopUtils desktopUtils, ScopeSystemInputManager inputManager, DesktopWmProtos.QuickWidgetInfo info, int parentWindowId)
info - QuickWidgetInfo of the widgetparentWindowId - id of parent windowpublic int getParentWindowId()
public void dragAndDropOn(QuickWidget widget, QuickWidget.DropPosition dropPos)
widget - the widget to drop this widget ontodropPos - the position to drop this widget into, CENTER, EDGE or BETWEENpublic String getName()
public String getText()
getText in class OperaUIElementpublic String getVisibleText()
public String getAdditionalText()
public boolean isDefault()
public boolean hasFocusedLook()
public boolean isEnabled()
public boolean isSelected()
public boolean isSelected(String stringId)
stringId - stringid of entry to check if is selectedpublic boolean isVisible()
isVisible in class OperaUIElementpublic DesktopWmProtos.QuickWidgetInfo.QuickWidgetType getType()
DesktopWmProtos.QuickWidgetInfo.QuickWidgetType for the possible
typespublic DesktopWmProtos.DesktopWindowRect getRect()
getRect in class OperaUIElementpublic int getRow()
public int getColumn()
protected int getValue()
public String getParentName()
public String toFullString()
toFullString in class OperaUIElementCopyright © 2012. All Rights Reserved.