|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot<Slider> org.eclipse.swtbot.swt.finder.widgets.SWTBotSlider
public class SWTBotSlider
Represents a slider.
Field Summary |
---|
Fields inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
---|
description, display, log, widget |
Constructor Summary | |
---|---|
SWTBotSlider(Slider widget)
Constructs a new instance with the given widget. |
|
SWTBotSlider(Slider widget,
SelfDescribing description)
Constructs an instance with the given widget |
Method Summary | |
---|---|
int |
getIncrement()
Return the increment of the slider. |
int |
getMaximum()
Return the maximum value the slider will accept. |
int |
getMinimum()
Return the minimum value the slider will accept. |
int |
getPageIncrement()
Return the page increment of the slider. |
int |
getSelection()
Return the current value of the slider. |
int |
getThumb()
Return the size of the thumb of the slider. |
void |
setSelection(int value)
Set the selection to the specified value. |
Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
---|
absoluteLocation, assertEnabled, asyncExec, backgroundColor, click, click, clickXY, contextMenu, contextMenu, createEvent, createMouseEvent, createSelectionEvent, doubleClickXY, foregroundColor, getId, getText, getToolTipText, hasStyle, isActive, isEnabled, isEnabledInternal, isVisible, keyboard, notify, notify, notify, pressShortcut, pressShortcut, pressShortcut, rightClick, rightClick, setFocus, sleep, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, toString, traverse, waitForEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SWTBotSlider(Slider widget) throws WidgetNotFoundException
widget
- the widget.
WidgetNotFoundException
- if the widget is null
or widget has been disposed.public SWTBotSlider(Slider widget, SelfDescribing description) throws WidgetNotFoundException
widget
- 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 int getSelection()
public void setSelection(int value)
value
- the value to set into the slider.public int getMaximum()
public int getMinimum()
public int getIncrement()
public int getPageIncrement()
public int getThumb()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |