public class FlexScrollBase extends FlexObject
用户与滚动条交互或开发人员访问可以更改可视区域的方法和属性。ScrollControlBase 提取单个子级对象并定位和遮蔽对象或调整对象大小以显示可视内容。滚动的所有项目必须为此内容对象的子级。
| Modifier | Constructor and Description |
|---|---|
protected |
FlexScrollBase(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 FlexScrollBase。
|
| Modifier and Type | Method and Description |
|---|---|
void |
mouseScroll()
鼠标滚轮在 InteractiveObject 实例上滚动时发送。
|
void |
mouseScroll(int delta)
鼠标滚轮在 InteractiveObject 实例上滚动时发送。
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocusclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, 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 FlexScrollBase(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 FlexScrollBase 的句柄desktop - 此对象所在的桌面public void mouseScroll()
如果目标为文本字段,则文本按默认行为滚动。仅在 Microsoft Windows 操作系统中适用。
定义 mouseWheel 事件对象的类型属性值。
public void mouseScroll(int delta)
如果目标为文本字段,则文本按默认行为滚动。仅在 Microsoft Windows 操作系统中适用。
定义 mouseWheel 事件对象的类型属性值。
delta - 鼠标滚轮上每个凹口的线数Copyright 2009-2012 Micro Focus. All Rights Reserved.