public class SapScrollbar extends TestObject
Modifier | Constructor and Description |
---|---|
protected |
SapScrollbar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SapScrollbar。
|
Modifier and Type | Method and Description |
---|---|
int |
getMaximum()
获取 最大滚动条值。
|
int |
getMinimum()
获取 最小滚动条值。
|
int |
getPageSize()
获取 滚动条 pagesize。
|
int |
getPosition()
获取 当前滚动条位置。
|
void |
scrollTo(int position)
滚动至指定位置。
|
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, 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, waitForProperty
equals, 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, toString
protected SapScrollbar(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SapScrollbar 的句柄desktop
- 此对象所在的桌面Copyright 2009-2012 Micro Focus. All Rights Reserved.