|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.OperaUIElement
com.opera.core.systems.QuickWidget
public class QuickWidget
Represents a widget in the Opera desktop UI.
| Nested Class Summary | |
|---|---|
static class |
QuickWidget.DropPosition
|
| Constructor Summary | |
|---|---|
QuickWidget(IDesktopUtils desktopUtils,
SystemInputManager inputManager,
DesktopWmProtos.QuickWidgetInfo info,
int parentWindowId)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dragAndDropOn(QuickWidget widget,
QuickWidget.DropPosition dropPos)
Drags this widget onto the specified widget at the given drop position |
java.lang.String |
getAdditionalText()
Gets additional text of this widget. |
int |
getColumn()
Gets the column of the widget within its parent, e.g. |
java.lang.String |
getName()
|
java.lang.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. |
java.lang.String |
getText()
|
DesktopWmProtos.QuickWidgetInfo.QuickWidgetType |
getType()
|
protected int |
getValue()
|
java.lang.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(java.lang.String stringId)
|
boolean |
isVisible()
|
java.lang.String |
toFullString()
|
java.lang.String |
toString()
|
| Methods inherited from class com.opera.core.systems.OperaUIElement |
|---|
click, getCenterLocation, getDesktopUtils, getLocation, getSize, getSystemInputManager, hover, verifyContainsText, verifyText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QuickWidget(IDesktopUtils desktopUtils,
SystemInputManager inputManager,
DesktopWmProtos.QuickWidgetInfo info,
int parentWindowId)
desktopUtils - inputManager - info - QuickWidgetInfo of the widgetparentWindowId - id of parent window| Method Detail |
|---|
public 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 java.lang.String getName()
public java.lang.String getText()
getText in class OperaUIElementpublic java.lang.String getVisibleText()
public java.lang.String getAdditionalText()
public boolean isDefault()
public boolean hasFocusedLook()
public boolean isEnabled()
public boolean isSelected()
public boolean isSelected(java.lang.String stringId)
stringId - stringid of entry to check if is selected
public 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 java.lang.String getParentName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toFullString()
toFullString in class OperaUIElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||