public class HorizontalScrollBar extends ScrollBar
Modifier | Constructor and Description |
---|---|
protected |
HorizontalScrollBar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 HorizontalScrollBar。
|
Modifier and Type | Method and Description |
---|---|
void |
pageLeft()
将滚动条向左整页滚动。
|
void |
pageLeft(int amount)
将滚动条向左整页滚动。
|
void |
pageRight()
将滚动条向右整页滚动。
|
void |
pageRight(int amount)
将滚动条向右整页滚动。
|
void |
scrollLeft()
将滚动条向左滚动。
|
void |
scrollLeft(int amount)
将滚动条向左滚动。
|
void |
scrollRight()
将滚动条向右滚动。
|
void |
scrollRight(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 HorizontalScrollBar(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 HorizontalScrollBar 的句柄desktop
- 此对象所在的桌面public void pageLeft()
public void pageLeft(int amount)
amount
- 可滚动的刻度数public void pageRight()
public void pageRight(int amount)
amount
- 可滚动的刻度数public void scrollLeft()
public void scrollLeft(int amount)
amount
- 可滚动的刻度数public void scrollRight()
public void scrollRight(int amount)
amount
- 可滚动的刻度数Copyright 2009-2012 Micro Focus. All Rights Reserved.