public class SLDataPager extends SLBase
Modifier | Constructor and Description |
---|---|
protected |
SLDataPager(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SLDataPager。
|
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPage()
获取 当前页面。
|
int |
getPageCount()
获取 页的计数。
|
void |
moveToFirstPage()
移动数据页导航至第一页。
|
void |
moveToLastPage()
移动数据页导航至最后一页。
|
void |
moveToNextPage()
移动数据页导航至下一页。
|
void |
moveToPage(int page)
移动数据页导航至指定页面。
|
void |
moveToPreviousPage()
移动数据页导航至上一页。
|
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, typePasswordKeys
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 SLDataPager(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SLDataPager 的句柄desktop
- 此对象所在的桌面public void moveToFirstPage()
public void moveToLastPage()
public void moveToNextPage()
public void moveToPage(int page)
page
- 数据页导航可移到的页面public void moveToPreviousPage()
public int getCurrentPage()
public int getPageCount()
Copyright 2009-2012 Micro Focus. All Rights Reserved.