|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwingSlider
SwingSlider is created to represent javax.swing.JSlider component
The following code fragment illustrates how to create an
SwingSlider
element.
var element = engine.createSwingSlider(1, 5);where engine is object of
IScriptEngine
Method Summary | |
---|---|
int |
getMaximum()
Returns the maximum value supported by the slider. |
int |
getMinimum()
Returns the minimum value supported by the slider. |
int |
getValue()
Returns the sliders value. |
boolean |
next(int count)
To set the next value after specified index count. |
boolean |
prev(int count)
To set the previous value before specified index count. |
boolean |
setValue(int value)
To set the sliders value. |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.AwtContainer |
---|
getComponentCount |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.JavaComponent |
---|
activate, addAttribute, captureImage, click, close, dblClick, drag, drop, getName, getText, getToolTipText, maximize, minimize, mouseMove, restore, rightClick, set, setBreakPoint, setIgnored, setImagePath, setName, setThinkTime, setTitle, type |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
int getMaximum()
int getMinimum()
int getValue()
boolean next(int count)
count
- count after current value
boolean prev(int count)
count
- count before current value
boolean setValue(int value)
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |