public class VerticalScrollBar extends ScrollBar
Modifier | Constructor and Description |
---|---|
protected |
VerticalScrollBar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 VerticalScrollBar。
|
Modifier and Type | Method and Description |
---|---|
void |
pageDown()
将滚动条向下整页滚动。
|
void |
pageDown(int amount)
将滚动条向下整页滚动。
|
void |
pageUp()
将滚动条向上整页滚动。
|
void |
pageUp(int amount)
将滚动条向上整页滚动。
|
void |
scrollDown()
向下移动滚动条。
|
void |
scrollDown(int amount)
向下移动滚动条。
|
void |
scrollUp()
向上移动滚动条。
|
void |
scrollUp(int amount)
向上移动滚动条。
|
getPageSize, getPosition, getRange, scroll, scrollToMax, scrollToMin, setPageSize, setPosition, setRange
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, 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 VerticalScrollBar(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 VerticalScrollBar 的句柄desktop
- 此对象所在的桌面public void pageDown()
public void pageDown(int amount)
amount
- 可滚动的刻度数public void pageUp()
public void pageUp(int amount)
amount
- 可滚动的刻度数public void scrollDown()
public void scrollDown(int amount)
amount
- 可滚动的刻度数public void scrollUp()
public void scrollUp(int amount)
amount
- 可滚动的刻度数Copyright 2009-2012 Micro Focus. All Rights Reserved.