public class FlexScrollBase extends FlexObject
The user interacts with the scroll bar or the developer accesses methods and properties that alter the viewable area. The ScrollControlBase takes a single child object and positions and masks or sizes that object to display the viewable content. All items to be scrolled must be children of that content object.
Modifier | Constructor and Description |
---|---|
protected |
FlexScrollBase(JtfObjectHandle handle,
Desktop desktop)
Creates a new FlexScrollBase with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseScroll()
Dispatched when a mouse wheel is spun over an InteractiveObject instance.
|
void |
mouseScroll(int delta)
Dispatched when a mouse wheel is spun over an InteractiveObject instance.
|
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 FlexScrollBase(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the FlexScrollBasedesktop
- the desktop on which this object livespublic void mouseScroll()
If the target is a text field, the text scrolls as the default behavior. Only available on Microsoft Windows operating systems.
Defines the value of the type property of a mouseWheel event object.
public void mouseScroll(int delta)
If the target is a text field, the text scrolls as the default behavior. Only available on Microsoft Windows operating systems.
Defines the value of the type property of a mouseWheel event object.
delta
- the number of lines that each notch on the mouse wheel representsCopyright 2009-2012 Micro Focus. All Rights Reserved.