|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot<ToolItem>
org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarButton
org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarDropDownButton
public class SWTBotToolbarDropDownButton
This represents a toolbar item that is a drop down button.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
|---|
description, display, log, widget |
| Constructor Summary | |
|---|---|
SWTBotToolbarDropDownButton(ToolItem w)
Constructs an new instance of this item. |
|
SWTBotToolbarDropDownButton(ToolItem w,
SelfDescribing description)
Constructs an new instance of this item. |
|
| Method Summary | |
|---|---|
SWTBotToolbarDropDownButton |
click()
Click on the tool item. |
SWTBotMenu |
menuItem(Matcher<MenuItem> matcher)
Finds all the submenu inside this menu item that match the given matcher. |
SWTBotMenu |
menuItem(String menuItem)
Finds the submenu inside this menu item. |
List<? extends SWTBotMenu> |
menuItems(Matcher<MenuItem> matcher)
Finds all the submenus inside this menu item that match the given matcher. |
| Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarButton |
|---|
isEnabled, sendNotifications |
| Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
|---|
absoluteLocation, assertEnabled, asyncExec, backgroundColor, click, clickXY, contextMenu, contextMenu, createEvent, createMouseEvent, createSelectionEvent, doubleClickXY, foregroundColor, getId, getText, getToolTipText, hasStyle, isActive, isEnabledInternal, isVisible, keyboard, notify, notify, notify, pressShortcut, pressShortcut, pressShortcut, rightClick, rightClick, setFocus, sleep, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, toString, traverse, waitForEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SWTBotToolbarDropDownButton(ToolItem w)
throws WidgetNotFoundException
w - the tool item.
WidgetNotFoundException - if the widget is null or widget has been disposed.
public SWTBotToolbarDropDownButton(ToolItem w,
SelfDescribing description)
throws WidgetNotFoundException
w - the tool item.description - the description of the widget, this will be reported by AbstractSWTBot.toString()
WidgetNotFoundException - if the widget is null or widget has been disposed.| Method Detail |
|---|
public SWTBotMenu menuItem(String menuItem)
NOTE:Invoking this keeps the menu open until you click on it.
menuItem - the submenu to search
public SWTBotMenu menuItem(Matcher<MenuItem> matcher)
NOTE:Invoking this keeps the menu open until you click on it.
matcher - the matcher
public List<? extends SWTBotMenu> menuItems(Matcher<MenuItem> matcher)
NOTE:Invoking this keeps the menu open until you click on it.
matcher - the matcher
WidgetNotFoundException - if the menuItem could not be foundpublic SWTBotToolbarDropDownButton click()
click in class SWTBotToolbarButton
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||