org.eclipse.swtbot.swt.finder.widgets
Class SWTBotArrowButton

java.lang.Object
  extended by org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot<T>
      extended by org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl<Button>
          extended by org.eclipse.swtbot.swt.finder.widgets.SWTBotArrowButton

public class SWTBotArrowButton
extends AbstractSWTBotControl<Button>

This represents a Button widget of type SWT.ARROW.

Version:
$Id$
Author:
Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
See Also:
SWTBotCheckBox, SWTBotRadio, SWTBotToggleButton

Field Summary
 
Fields inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot
description, display, log, widget
 
Constructor Summary
SWTBotArrowButton(Button button)
          Constructs an instance of this object with the given button
SWTBotArrowButton(Button button, SelfDescribing description)
          Constructs an instance of this object with the given button
 
Method Summary
 SWTBotArrowButton click()
          Click on the button.
 
Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl
absoluteLocation, click, moveMouseToWidget, rightClick
 
Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot
assertEnabled, asyncExec, backgroundColor, click, clickXY, contextMenu, contextMenu, createEvent, createMouseEvent, createSelectionEvent, doubleClickXY, foregroundColor, getId, getText, getToolTipText, hasStyle, isActive, isEnabled, isEnabledInternal, isVisible, keyboard, notify, notify, notify, pressShortcut, pressShortcut, pressShortcut, rightClick, rightClick, setFocus, sleep, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, toString, traverse, waitForEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWTBotArrowButton

public SWTBotArrowButton(Button button)
Constructs an instance of this object with the given button

Parameters:
button - the widget.
Throws:
WidgetNotFoundException - if the widget is null or widget has been disposed.
Since:
2.0

SWTBotArrowButton

public SWTBotArrowButton(Button button,
                         SelfDescribing description)
Constructs an instance of this object with the given button

Parameters:
button - the widget.
description - the description of the widget, this will be reported by AbstractSWTBot.toString()
Throws:
WidgetNotFoundException - if the widget is null or widget has been disposed.
Since:
2.0
Method Detail

click

public SWTBotArrowButton click()
Click on the button.

Overrides:
click in class AbstractSWTBot<Button>
Returns:
itself.