public class SLSlider extends SLBase
| Modifier | Constructor and Description |
|---|---|
protected |
SLSlider(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SLSlider。
|
| Modifier and Type | Method and Description |
|---|---|
void |
decreaseLarge()
大量减少滑块的值。
|
void |
decreaseSmall()
少量减少滑块的值。
|
double |
getLargeChange()
获取 做出较大更改(如使用 PAGE DOWN 键)后,Value 属性增加或减少的值。
|
double |
getMaximum()
获取 最大进度值。
|
double |
getMinimum()
获取 最小进度值。
|
double |
getSmallChange()
获取 做出较小更改(如使用箭头键)后,Value 属性增加或减少的值。
|
Double |
getValue()
获取 当前进度。
|
void |
increaseLarge()
大量增加滑块的值。
|
void |
increaseSmall()
少量增加滑块的值。
|
void |
setValue(double value)
设置滑块的值。
|
void |
setValueToMaximum()
设置滑块至最大位置。
|
void |
setValueToMinimum()
设置滑块至最小位置。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAutomationId, getClassName, getName, getRawChildren, getRawChildren, isEnabled, isFocused, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForPropertyequals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toStringprotected SLSlider(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 SLSlider 的句柄desktop - 此对象所在的桌面public void decreaseLarge()
public void decreaseSmall()
public void increaseLarge()
public void increaseSmall()
public void setValue(double value)
value - 新滑块值public void setValueToMaximum()
public void setValueToMinimum()
public double getLargeChange()
public double getMaximum()
public double getMinimum()
public double getSmallChange()
public Double getValue()
getValue in class TestObjectCopyright 2009-2012 Micro Focus. All Rights Reserved.