|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot<T> org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl<ImageHyperlink> org.eclipse.swtbot.forms.finder.widgets.SWTBotImageHyperlink
public class SWTBotImageHyperlink
This represents a ImageHyperlink
widget.
Field Summary |
---|
Fields inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
---|
description, display, log, widget |
Constructor Summary | |
---|---|
SWTBotImageHyperlink(ImageHyperlink w)
Constructs a new instance with the given widget. |
|
SWTBotImageHyperlink(ImageHyperlink w,
SelfDescribing description)
Constructs a new instance with the given widget. |
Method Summary | |
---|---|
Image |
activeImage()
Return the ImageHyperlink's active image or null . |
AbstractSWTBot<ImageHyperlink> |
click()
Clicks on this widget. |
AbstractSWTBot<ImageHyperlink> |
click(String hyperlinkText)
Clicks on the image hyperlink with the specified text. |
Image |
hoverImage()
Return the ImageHyperlink's hover image or null . |
Image |
image()
Return the ImageHyperlink's image or null . |
Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl |
---|
absoluteLocation, click, moveMouseToWidget, rightClick |
Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
---|
assertEnabled, asyncExec, backgroundColor, click, clickXY, contextMenu, contextMenu, createEvent, createMouseEvent, createSelectionEvent, doubleClickXY, foregroundColor, getId, getText, getToolTipText, hasStyle, isActive, isEnabled, isEnabledInternal, isVisible, keyboard, notify, notify, notify, pressShortcut, pressShortcut, pressShortcut, rightClick, rightClick, setFocus, sleep, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, toString, traverse, waitForEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SWTBotImageHyperlink(ImageHyperlink w) throws WidgetNotFoundException
w
- the widget.
WidgetNotFoundException
- if the widget is null
or widget has been disposed.public SWTBotImageHyperlink(ImageHyperlink w, SelfDescribing description) throws WidgetNotFoundException
w
- the widget.description
- the description of the widget, this will be reported by AbstractSWTBot.toString()
WidgetNotFoundException
- if the widget is null
or widget has been disposed.Method Detail |
---|
public AbstractSWTBot<ImageHyperlink> click()
AbstractSWTBot
click
in class AbstractSWTBot<ImageHyperlink>
public Image image()
null
.
null
.public Image hoverImage()
null
.
null
.public Image activeImage()
null
.
null
.public AbstractSWTBot<ImageHyperlink> click(String hyperlinkText)
hyperlinkText
- the text of the image hyperlink in case there are more than one hyperlinks.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |