public class SapScrollbar extends TestObject
Modifier | Constructor and Description |
---|---|
protected |
SapScrollbar(JtfObjectHandle handle,
Desktop desktop)
Creates a new SapScrollbar with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaximum()
Gets the maximum scrollbar value.
|
int |
getMinimum()
Gets the minimum scrollbar value.
|
int |
getPageSize()
Gets the scrollbar pagesize.
|
int |
getPosition()
Gets the current scrollbar position.
|
void |
scrollTo(int position)
Scrolls to the given position.
|
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 SapScrollbar(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SapScrollbardesktop
- the desktop on which this object livespublic void scrollTo(int position)
position
- the positionpublic int getMaximum()
public int getMinimum()
public int getPageSize()
public int getPosition()
Copyright 2009-2012 Micro Focus. All Rights Reserved.