|
||||||||||
| 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<CTabItem>
org.eclipse.swtbot.swt.finder.widgets.SWTBotCTabItem
public class SWTBotCTabItem
| Field Summary |
|---|
| Fields inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
|---|
description, display, log, widget |
| Constructor Summary | |
|---|---|
SWTBotCTabItem(CTabItem w)
Constructs a new instance of this object. |
|
SWTBotCTabItem(CTabItem w,
SelfDescribing description)
Constructs a new instance of this object. |
|
| Method Summary | |
|---|---|
SWTBotCTabItem |
activate()
Activates the tabItem. |
SWTBotCTabItem |
close()
Closes the CTabItem. |
protected Event |
createEvent()
Creates an event. |
boolean |
isActive()
|
boolean |
isEnabled()
Gets if the object's widget is enabled. |
SWTBotCTabItem |
show()
Shows the item. |
| Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
|---|
absoluteLocation, assertEnabled, asyncExec, backgroundColor, click, click, clickXY, contextMenu, contextMenu, createMouseEvent, createSelectionEvent, doubleClickXY, foregroundColor, getId, getText, getToolTipText, hasStyle, 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 SWTBotCTabItem(CTabItem w)
throws WidgetNotFoundException
w - the widget.
WidgetNotFoundException - if the widget is null or widget has been disposed.
public SWTBotCTabItem(CTabItem w,
SelfDescribing description)
throws WidgetNotFoundException
w - the widget.description - the description of the widget, this will be reported by AbstractSWTBot.toString()
WidgetNotFoundException - if the widget is null or widget has been disposed.| Method Detail |
|---|
public SWTBotCTabItem show()
SWTBotCTabItem.
public SWTBotCTabItem activate()
throws TimeoutException
TimeoutException - if the tab does not activateprotected Event createEvent()
AbstractSWTBot
createEvent in class AbstractSWTBot<CTabItem>AbstractSWTBot.widget and AbstractSWTBot.display. Subclasses may override to set other
event properties.public boolean isActive()
isActive in class AbstractSWTBot<CTabItem>true if this widget has focus.Display.getFocusControl()public boolean isEnabled()
AbstractSWTBot
isEnabled in class AbstractSWTBot<CTabItem>true if the widget is enabled.Control.isEnabled()public SWTBotCTabItem close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||