public class WPFScrollBar extends WPFRangeBase
Modifier | Constructor and Description |
---|---|
protected |
WPFScrollBar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 WPFScrollBar。
|
Modifier and Type | Method and Description |
---|---|
Orientation |
getOrientation()
获取 ScrollBar 是以水平方式还是垂直方式显示。
|
double |
getViewportSize()
获取 当前可见的可滚动内容的数量。
|
void |
setValue(double value)
设置 ScrollBar 的值。
|
void |
setValueToMaximum()
设置 ScrollBar 至最大位置。
|
void |
setValueToMinimum()
设置 ScrollBar 至最小位置。
|
getLargeChange, getMaximum, getMinimum, getSmallChange, getValue
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, 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, 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 WPFScrollBar(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 WPFScrollBar 的句柄desktop
- 此对象所在的桌面public void setValue(double value)
value
- 可为 ScrollBar 设置的值public void setValueToMaximum()
public void setValueToMinimum()
public Orientation getOrientation()
public double getViewportSize()
Copyright 2009-2012 Micro Focus. All Rights Reserved.