public class SparkAirHTML extends FlexScrollBase
Modifier | Constructor and Description |
---|---|
protected |
SparkAirHTML(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SparkAirHTML。
|
Modifier and Type | Method and Description |
---|---|
void |
scroll(int position,
FlexScrollDirection direction,
FlexScrollDetail detail)
发生滚动事件时发送。
|
mouseScroll, mouseScroll
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, 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, typePasswordKeys
captureBitmap, 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, 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 SparkAirHTML(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SparkAirHTML 的句柄desktop
- 此对象所在的桌面public void scroll(int position, FlexScrollDirection direction, FlexScrollDetail detail)
position
- 新滚动位置direction
- 动作的方向:ScrollEventDirection.VERTICAL 或 ScrollEventDirection.HORIZONTALdetail
- 提供滚动活动的详细信息。多数滚动活动的值是某一列出的常数,例如 THUMB_TRACK。如果事件表示滚动条已向上、向下、向左或向右移动,则此值是动作数量的字符串串联(例如“行”或“页”)和表示方向的常数(例如左)。Copyright 2009-2012 Micro Focus. All Rights Reserved.