public class AWTScrollbar extends AWTComponent implements IAWTScroller
| Modifier | Constructor and Description |
|---|---|
protected |
AWTScrollbar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 AWTScrollbar。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPageSize()
获取 滚动条的块增量值。
|
int |
getPosition()
获取 滚动条的当前位置。
|
Range |
getRange()
获取 滚动条的范围值。
|
int |
getStepSize()
获取 滚动条的单位增量值。
|
void |
page(int pageCount)
将当前滚动位置增加指定页数。
|
void |
scrollTo(int position)
滚动至指定位置。
|
void |
step(int stepCount)
将当前滚动位置增加指定步长数。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, 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, 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 AWTScrollbar(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 AWTScrollbar 的句柄desktop - 此对象所在的桌面public void page(int pageCount)
page in interface IAWTScrollerpageCount - 可增加的页数public void scrollTo(int position)
scrollTo in interface IAWTScrollerposition - 可滚动到的位置public void step(int stepCount)
step in interface IAWTScrollerstepCount - 可增加的步长数public int getPageSize()
getPageSize in interface IAWTScrollerpublic int getPosition()
getPosition in interface IAWTScrollerpublic Range getRange()
getRange in interface IAWTScrollerpublic int getStepSize()
getStepSize in interface IAWTScrollerCopyright 2009-2012 Micro Focus. All Rights Reserved.