public class AWTScrollbar extends AWTComponent implements IAWTScroller
| Modifier | Constructor and Description |
|---|---|
protected |
AWTScrollbar(JtfObjectHandle handle,
Desktop desktop)
Creates a new AWTScrollbar with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPageSize()
Gets the block increment value of the scroll bar.
|
int |
getPosition()
Gets the current position of the scroll bar.
|
Range |
getRange()
Gets the range value of the scroll bar.
|
int |
getStepSize()
Gets the unit increment value of the scroll bar.
|
void |
page(int pageCount)
Increments the current scroll position by specified number of pages.
|
void |
scrollTo(int position)
Scrolls to the specified position.
|
void |
step(int stepCount)
Increments the current scroll position by specified steps.
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, setFocus, 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 AWTScrollbar(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the AWTScrollbardesktop - the desktop on which this object livespublic void page(int pageCount)
page in interface IAWTScrollerpageCount - the number of pages to incrementpublic void scrollTo(int position)
scrollTo in interface IAWTScrollerposition - the position to scroll topublic void step(int stepCount)
step in interface IAWTScrollerstepCount - the number of steps to incrementpublic int getPageSize()
getPageSize in interface IAWTScrollerpublic int getPosition()
getPosition in interface IAWTScrollerpublic Range getRange()
getRange in interface IAWTScrollerpublic int getStepSize()
getStepSize in interface IAWTScrollerCopyright 2009-2012 Micro Focus. All Rights Reserved.