public class ScrolledComposite extends Control
Modifier | Constructor and Description |
---|---|
protected |
ScrolledComposite(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 ScrolledComposite。
|
Modifier and Type | Method and Description |
---|---|
TestObject |
getContent()
获取 可动态定位的区域的内容。
|
Point |
getOrigin()
获取 滚动的组件左上角当前显示的内容中的点。
|
boolean |
isAlwaysShowScrollBars()
获取 是否显示滚动条。
|
void |
setAlwaysShowScrollBars(boolean alwaysShowScrollBars)
设置 是否显示滚动条。
|
void |
setOrigin(Point origin)
设置 滚动的组件左上角当前显示的内容中的点。
|
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 ScrolledComposite(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 ScrolledComposite 的句柄desktop
- 此对象所在的桌面public boolean isAlwaysShowScrollBars()
public void setAlwaysShowScrollBars(boolean alwaysShowScrollBars)
alwaysShowScrollBars
- 是否显示滚动条public TestObject getContent()
public Point getOrigin()
public void setOrigin(Point origin)
origin
- 滚动的组件左上角当前显示的内容中的点Copyright 2009-2012 Micro Focus. All Rights Reserved.