|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swtbot.swt.finder.SWTBot
public class SWTBot
This class contains convenience API to find widgets in SWTBot. Most users would start off as follows:
SWTBot bot = new SWTBot(); bot.button("hello world").click(); // in case you have two edit buttons in two different groups // say an edit button in the "Address" section, // and another in "Bank Account" section, you can do the following // to click on the "Edit" button on the "Bank Account" section. // This is the recommended way to use SWTBot, instead of finding widgets based on its index. bot.buttonInGroup("Edit", "Bank Account").click();For finding widgets using custom matchers:
SWTBot bot = new SWTBot(); // // find a button within the currently active shell: // SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher)); // or SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, 3)); // for the 4th widget // // to find a button within a particular parent composite: // SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, parentComposite)); //or SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, parentComposite, 3)); //for the 4th widget
Field Summary | |
---|---|
static long |
DEFAULT_POLL_DELAY
Deprecated. |
protected Display |
display
The display on which the bot operates on. |
protected Finder |
finder
The finder used by the bot to find controls. |
Constructor Summary | |
---|---|
SWTBot()
Constructs a bot. |
|
SWTBot(ControlFinder controlFinder,
MenuFinder menuFinder)
Constructs an instance of the bot using the given control finder and menu finder. |
|
SWTBot(Finder finder)
Constructs a bot with the given finder. |
|
SWTBot(Widget parent)
Constructs a bot that will match the contents of the given parentWidget. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final long DEFAULT_POLL_DELAY
protected final Display display
protected final Finder finder
Constructor Detail |
---|
public SWTBot()
public SWTBot(Widget parent)
parent
- the parentpublic SWTBot(ControlFinder controlFinder, MenuFinder menuFinder)
controlFinder
- the ControlFinder
used to identify and find controls.menuFinder
- the MenuFinder
used to find menu items.public SWTBot(Finder finder)
finder
- the finder.Method Detail |
---|
public SWTBotButton buttonWithLabel(String label)
label
- the label on the widget.
SWTBotButton
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotButton
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton button(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton button(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton button()
SWTBotButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton button(int index)
index
- the index of the widget.
SWTBotButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotButton
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotButton
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotButton buttonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithLabel(String label)
label
- the label on the widget.
SWTBotArrowButton
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotArrowButton
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotArrowButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotArrowButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotArrowButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotArrowButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotArrowButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotArrowButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotArrowButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotArrowButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButton()
SWTBotArrowButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButton(int index)
index
- the index of the widget.
SWTBotArrowButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotArrowButton
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotArrowButton
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotArrowButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotArrowButton arrowButtonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotArrowButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithLabel(String label)
label
- the label on the widget.
SWTBotCheckBox
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBox(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotCheckBox
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBox(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotCheckBox
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotCheckBox
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotCheckBox
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotCheckBox
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotCheckBox
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotCheckBox
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBox()
SWTBotCheckBox
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBox(int index)
index
- the index of the widget.
SWTBotCheckBox
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotCheckBox
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotCheckBox
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotCheckBox
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCheckBox checkBoxWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCheckBox
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithLabel(String label)
label
- the label on the widget.
SWTBotRadio
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotRadio
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radio(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotRadio
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radio(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotRadio
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotRadio
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotRadio
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotRadio
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotRadio
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotRadio
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotRadio
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotRadio
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotRadio
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radio()
SWTBotRadio
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radio(int index)
index
- the index of the widget.
SWTBotRadio
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotRadio
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotRadio
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotRadio
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotRadio
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotRadio
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotRadio radioWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotRadio
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithLabel(String label)
label
- the label on the widget.
SWTBotToggleButton
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButton(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotToggleButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButton(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotToggleButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotToggleButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotToggleButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotToggleButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotToggleButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotToggleButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButton()
SWTBotToggleButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButton(int index)
index
- the index of the widget.
SWTBotToggleButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotToggleButton
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotToggleButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotToggleButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToggleButton toggleButtonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToggleButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithLabel(String label)
label
- the label on the widget.
SWTBotTree
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotTree
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotTree
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotTree
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotTree
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotTree
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotTree
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotTree
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree tree()
SWTBotTree
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree tree(int index)
index
- the index of the widget.
SWTBotTree
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotTree
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTree treeWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotTree
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithLabel(String label)
label
- the label on the widget.
SWTBotText
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotText
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText text(String text)
text
- the text on the widget.
SWTBotText
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText text(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotText
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotText
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotText
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithMessage(String message)
message
- the message on the widget.
SWTBotText
with the specified message
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithMessage(String message, int index)
message
- the message on the widget.index
- the index of the widget.
SWTBotText
with the specified message
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotText
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotText
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotText
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotText
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText text()
SWTBotText
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText text(int index)
index
- the index of the widget.
SWTBotText
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotText
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotText
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotText
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotText
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotText
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotText textWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotText
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithLabel(String label)
label
- the label on the widget.
SWTBotCombo
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotCombo
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBox(String text)
text
- the text on the widget.
SWTBotCombo
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBox(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotCombo
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotCombo
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotCombo
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotCombo
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotCombo
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotCombo
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCombo
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBox()
SWTBotCombo
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBox(int index)
index
- the index of the widget.
SWTBotCombo
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotCombo
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCombo
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotCombo
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCombo comboBoxInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCombo
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBox(String text)
text
- the text on the widget.
SWTBotCCombo
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBox(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotCCombo
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithLabel(String label)
label
- the label on the widget.
SWTBotCCombo
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotCCombo
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotCCombo
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotCCombo
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotCCombo
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotCCombo
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotCCombo
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCCombo
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBox()
SWTBotCCombo
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBox(int index)
index
- the index of the widget.
SWTBotCCombo
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotCCombo
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCCombo
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotCCombo
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCCombo ccomboBoxWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCCombo
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabel(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotCLabel
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabel(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotCLabel
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotCLabel
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotCLabel
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotCLabel
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotCLabel
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotCLabel
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCLabel
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabel()
SWTBotCLabel
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabel(int index)
index
- the index of the widget.
SWTBotCLabel
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotCLabel
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCLabel clabelInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCLabel
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel label(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotLabel
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel label(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotLabel
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotLabel
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotLabel
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotLabel
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotLabel
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotLabel
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotLabel
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel label()
SWTBotLabel
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel label(int index)
index
- the index of the widget.
SWTBotLabel
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotLabel
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLabel labelInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotLabel
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithLabel(String label)
label
- the label on the widget.
SWTBotList
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotList
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotList
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotList
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotList
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotList
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotList
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotList
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList list()
SWTBotList
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList list(int index)
index
- the index of the widget.
SWTBotList
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotList
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotList listWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotList
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithLabel(String label)
label
- the label on the widget.
SWTBotTable
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotTable
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotTable
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotTable
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotTable
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotTable
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotTable
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotTable
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable table()
SWTBotTable
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable table(int index)
index
- the index of the widget.
SWTBotTable
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotTable
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTable tableWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotTable
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItem(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotTabItem
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItem(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotTabItem
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotTabItem
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotTabItem
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotTabItem
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotTabItem
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotTabItem
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotTabItem
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItem()
SWTBotTabItem
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItem(int index)
index
- the index of the widget.
SWTBotTabItem
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotTabItem
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotTabItem tabItemInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotTabItem
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItem(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotCTabItem
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItem(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotCTabItem
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotCTabItem
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotCTabItem
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotCTabItem
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotCTabItem
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotCTabItem
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCTabItem
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItem()
SWTBotCTabItem
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItem(int index)
index
- the index of the widget.
SWTBotCTabItem
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotCTabItem
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotCTabItem cTabItemInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotCTabItem
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithLabel(String label)
label
- the label on the widget.
SWTBotStyledText
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotStyledText
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledText(String text)
text
- the text on the widget.
SWTBotStyledText
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledText(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotStyledText
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotStyledText
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotStyledText
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotStyledText
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotStyledText
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotStyledText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotStyledText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledText()
SWTBotStyledText
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledText(int index)
index
- the index of the widget.
SWTBotStyledText
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotStyledText
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotStyledText
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotStyledText
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotStyledText styledTextInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotStyledText
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithLabel(String label)
label
- the label on the widget.
SWTBotDateTime
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotDateTime
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotDateTime
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotDateTime
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotDateTime
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotDateTime
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotDateTime
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotDateTime
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTime()
SWTBotDateTime
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTime(int index)
index
- the index of the widget.
SWTBotDateTime
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotDateTime
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotDateTime dateTimeWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotDateTime
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButton(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotToolbarButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButton(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotToolbarButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotToolbarButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotToolbarButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotToolbarButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotToolbarButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotToolbarButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotToolbarButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotToolbarButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButton()
SWTBotToolbarButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButton(int index)
index
- the index of the widget.
SWTBotToolbarButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarButton toolbarButtonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButton(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotToolbarToggleButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButton(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotToolbarToggleButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotToolbarToggleButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotToolbarToggleButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotToolbarToggleButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButton()
SWTBotToolbarToggleButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButton(int index)
index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarToggleButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarToggleButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarToggleButton toolbarToggleButtonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarToggleButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButton(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotToolbarDropDownButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButton(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotToolbarDropDownButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotToolbarDropDownButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotToolbarDropDownButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotToolbarDropDownButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButton()
SWTBotToolbarDropDownButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButton(int index)
index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarDropDownButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarDropDownButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarDropDownButton toolbarDropDownButtonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarDropDownButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButton(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotToolbarRadioButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButton(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotToolbarRadioButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotToolbarRadioButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotToolbarRadioButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotToolbarRadioButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButton()
SWTBotToolbarRadioButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButton(int index)
index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarRadioButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotToolbarRadioButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotToolbarRadioButton toolbarRadioButtonWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotToolbarRadioButton
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink link(String mnemonicText)
mnemonicText
- the mnemonicText on the widget.
SWTBotLink
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink link(String mnemonicText, int index)
mnemonicText
- the mnemonicText on the widget.index
- the index of the widget.
SWTBotLink
with the specified mnemonicText
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotLink
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotLink
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotLink
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotLink
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotLink
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotLink
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink link()
SWTBotLink
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink link(int index)
index
- the index of the widget.
SWTBotLink
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkInGroup(String mnemonicText, String inGroup)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.
SWTBotLink
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotLink linkInGroup(String mnemonicText, String inGroup, int index)
mnemonicText
- the mnemonicText on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotLink
with the specified mnemonicText
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithLabel(String label)
label
- the label on the widget.
SWTBotSpinner
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinner(String text)
text
- the text on the widget.
SWTBotSpinner
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinner(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotSpinner
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotSpinner
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotSpinner
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotSpinner
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotSpinner
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotSpinner
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinner()
SWTBotSpinner
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinner(int index)
index
- the index of the widget.
SWTBotSpinner
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotSpinner
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotSpinner
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotSpinner
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSpinner spinnerWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSpinner
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithLabel(String label)
label
- the label on the widget.
SWTBotSlider
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotSlider
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider slider(String text)
text
- the text on the widget.
SWTBotSlider
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider slider(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotSlider
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotSlider
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotSlider
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotSlider
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotSlider
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotSlider
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotSlider
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotSlider
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSlider
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider slider()
SWTBotSlider
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider slider(int index)
index
- the index of the widget.
SWTBotSlider
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotSlider
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSlider
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotSlider
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSlider
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotSlider
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotSlider sliderWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotSlider
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithLabel(String label)
label
- the label on the widget.
SWTBotBrowser
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotBrowser
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotBrowser
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotBrowser
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotBrowser
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotBrowser
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotBrowser
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotBrowser
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browser()
SWTBotBrowser
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browser(int index)
index
- the index of the widget.
SWTBotBrowser
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotBrowser
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotBrowser browserWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotBrowser
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithLabel(String label)
label
- the label on the widget.
SWTBotScale
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotScale
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scale(String text)
text
- the text on the widget.
SWTBotScale
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scale(String text, int index)
text
- the text on the widget.index
- the index of the widget.
SWTBotScale
with the specified text
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithTooltip(String tooltip)
tooltip
- the tooltip on the widget.
SWTBotScale
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the widget.index
- the index of the widget.
SWTBotScale
with the specified tooltip
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotScale
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotScale
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotScale
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotScale
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotScale
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotScale
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scale()
SWTBotScale
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scale(int index)
index
- the index of the widget.
SWTBotScale
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotScale
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotScale
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleInGroup(String text, String inGroup)
text
- the text on the widget.inGroup
- the inGroup on the widget.
SWTBotScale
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleInGroup(String text, String inGroup, int index)
text
- the text on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotScale
with the specified text
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithTooltipInGroup(String tooltip, String inGroup)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.
SWTBotScale
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotScale scaleWithTooltipInGroup(String tooltip, String inGroup, int index)
tooltip
- the tooltip on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotScale
with the specified tooltip
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithLabel(String label)
label
- the label on the widget.
SWTBotExpandBar
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithLabel(String label, int index)
label
- the label on the widget.index
- the index of the widget.
SWTBotExpandBar
with the specified label
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithId(String key, String value)
key
- the key set on the widget.value
- the value for the key.
SWTBotExpandBar
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithId(String key, String value, int index)
key
- the key set on the widget.value
- the value for the key.index
- the index of the widget.
SWTBotExpandBar
with the specified key/value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithId(String value)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.
SWTBotExpandBar
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithId(String value, int index)
value
- the value for the key SWTBotPreferences.DEFAULT_KEY
.index
- the index of the widget.
SWTBotExpandBar
with the specified value
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarInGroup(String inGroup)
inGroup
- the inGroup on the widget.
SWTBotExpandBar
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarInGroup(String inGroup, int index)
inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotExpandBar
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBar()
SWTBotExpandBar
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBar(int index)
index
- the index of the widget.
SWTBotExpandBar
with the specified none
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithLabelInGroup(String label, String inGroup)
label
- the label on the widget.inGroup
- the inGroup on the widget.
SWTBotExpandBar
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotExpandBar expandBarWithLabelInGroup(String label, String inGroup, int index)
label
- the label on the widget.inGroup
- the inGroup on the widget.index
- the index of the widget.
SWTBotExpandBar
with the specified label
with the specified inGroup
.
WidgetNotFoundException
- if the widget is not found or is disposed.public SWTBotShell shell(String text)
text
- the text on the shell.
public SWTBotShell shell(String text, int index)
text
- the text on the shell.index
- the index of the shell, in case there are multiple shells with the same text.
Shell
with the specified index.public List<Shell> shells(String text)
text
- the text on the shell.
Shell
with the specified index.public SWTBotShell shell(String text, Shell parent)
text
- the text on the shell.parent
- the parent under which a shell will be found.
public SWTBotShell shell(String text, Shell parent, int index)
text
- the text on the shell.parent
- the parent under which a shell will be found.index
- the index of the shell, in case there are multiple shells with the same text.
Shell
with the specified index.public List<Shell> shells(String text, Shell parent)
text
- the text on the shell.parent
- the parent under which a shell will be found.
Shell
which matched.public SWTBotShell shellWithId(String value)
value
- the value of the id
public SWTBotShell shellWithId(String key, String value)
key
- the key of the idvalue
- the value of the id
public SWTBotShell shellWithId(String value, int index)
value
- the value of the idindex
- the index of the shell, in case there are multiple shells with the same text.
public SWTBotShell shellWithId(String key, String value, int index)
key
- the key of the idvalue
- the value of the idindex
- the index of the shell, in case there are multiple shells with the same text.
public SWTBotMenu menu(String text)
text
- the text on the menu.
public SWTBotMenu menu(String text, int index)
text
- the text on the menu.index
- the index of the menu, in case there are multiple menus with the same text.
public SWTBotMenu menuWithId(String value)
value
- the value of the id.
public SWTBotMenu menuWithId(String value, int index)
value
- the value of the id.index
- the index of the menu item, in case there are multiple shells with the same text.
public SWTBotMenu menuWithId(String key, String value)
key
- the key of the id.value
- the value of the id.
public SWTBotMenu menuWithId(String key, String value, int index)
key
- the key of the id.value
- the value of the id.index
- the index of the menu item, in case there are multiple shells with the same text.
public SWTBotMenu menu(SWTBotShell shell, Matcher<MenuItem> matcher, int index)
shell
- the shell to search for the menu.matcher
- the matcher used to find the menu.index
- the index of the menu, in case there are multiple menus with the same text.
public <T extends Widget> List<? extends T> widgets(Matcher<T> matcher, Widget parentWidget)
matcher
- the matcher used to match widgets.parentWidget
- the parent widget to search for a given widget.
public <T extends Widget> List<? extends T> widgets(Matcher<T> matcher)
matcher
- the matcher used to match widgets.
public <T extends Widget> T widget(Matcher<T> matcher, Widget parentWidget)
matcher
- the matcher used to match widgets.parentWidget
- the parent widget to search for a given widget.
public <T extends Widget> T widget(Matcher<T> matcher, Widget parentWidget, int index)
matcher
- the matcher used to match widgets.parentWidget
- the parent widget to search for a given widget.index
- the index of the widget, incase the matcher finds multiple widgets
public <T extends Widget> T widget(Matcher<T> matcher, int index)
matcher
- the matcher used to match widgets.index
- the index of the widget in case there are multiple widgets.
public <T extends Widget> T widget(Matcher<T> matcher)
matcher
- the matcher used to match widgets.
public SWTBotShell[] shells()
public SWTBotShell activeShell() throws WidgetNotFoundException
WidgetNotFoundException
- if the widget is not found.public void waitUntilWidgetAppears(ICondition waitForWidget)
public void waitUntil(ICondition condition) throws TimeoutException
condition
- the ICondition
to be evaluated.
TimeoutException
- if the condition does not evaluate to true after SWTBotPreferences.TIMEOUT
milliseconds.public void waitUntil(ICondition condition, long timeout) throws TimeoutException
condition
- the condition to be evaluated.timeout
- the timeout.
TimeoutException
- if the condition does not evaluate to true after timeout milliseconds.public void waitUntil(ICondition condition, long timeout, long interval) throws TimeoutException
condition
- the condition to be evaluated.timeout
- the timeout.interval
- The delay time.
TimeoutException
- if the condition does not evaluate to true after timeout milliseconds.public void waitWhile(ICondition condition) throws TimeoutException
condition
- the ICondition
to be evaluated.
TimeoutException
- if the condition does not evaluate to false after SWTBotPreferences.TIMEOUT
milliseconds.public void waitWhile(ICondition condition, long timeout) throws TimeoutException
condition
- the condition to be evaluated.timeout
- the timeout.
TimeoutException
- if the condition does not evaluate to false after timeout milliseconds.public void waitWhile(ICondition condition, long timeout, long interval) throws TimeoutException
condition
- the condition to be evaluated.timeout
- the timeout.interval
- The delay time.
TimeoutException
- if the condition does not evaluate to false after timeout milliseconds.public void sleep(long millis)
millis
- the time in milliseconds for which to sleep.public Display getDisplay()
public boolean captureScreenshot(String fileName)
fileName
- the filename to save screenshot to.
true
if the screenshot was created and saved, false
otherwise.SWTUtils.captureScreenshot(String)
public Finder getFinder()
public Control getFocusedWidget()
null
if keyboard events are not currently
going to any of the controls built by the currently running application.
null
Display.getFocusControl()
public SWTBotTrayItem trayItem()
SWTBotTrayItem
public SWTBotTrayItem trayItem(int index)
index
- he index of the tray item.
SWTBotTrayItem
at specified index
public SWTBotTrayItem trayItemWithTooltip(String tooltip)
tooltip
- the tooltip on the tray item.
SWTBotTrayItem
with the specified tooltip
.public SWTBotTrayItem trayItemWithTooltip(String tooltip, int index)
tooltip
- the tooltip on the tray item.index
- the index of the tray item.
SWTBotTrayItem
with the specified tooltip
.public List<SWTBotTrayItem> trayItems()
public List<SWTBotTrayItem> trayItems(Matcher<?> matcher)
matcher
- the matcher used to match tray item
SWTBotTrayItem
matching the matcher.protected Tray systemTray()
public <T> T performWithTimeout(Result<T> runnable, long timeout)
This is a convenience api for performing a particular operation with a different timeout:
long timeout = ...; long old = SWTBotPreferences.TIMEOUT; SWTBotPreferences.TIMEOUT = timeout; try { // do something that takes very long return aNumber; } finally { SWTBotPreferences.TIMEOUT = old; }
The above can now be written as:
performWithTimeout(new Result() { public Integer run() { // do something that takes very long } }, timeout);
runnable
- the runnable to execute.timeout
- the timeout for performing the operation.
public void performWithTimeout(VoidResult runnable, long timeout)
runnable
- the runnable to execute.timeout
- the timeout for performing the operation.for more information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |