public class JScrollBar extends JComponent implements IAWTScroller
Modifier | Constructor and Description |
---|---|
protected |
JScrollBar(JtfObjectHandle handle,
Desktop desktop)
Creates a new JScrollBar 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.
|
getToolTipText
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, 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 JScrollBar(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the JScrollBardesktop
- the desktop on which this object livespublic void page(int pageCount)
page
in interface IAWTScroller
pageCount
- the number of pages to incrementpublic void scrollTo(int position)
scrollTo
in interface IAWTScroller
position
- the position to scroll topublic void step(int stepCount)
step
in interface IAWTScroller
stepCount
- the number of steps to incrementpublic int getPageSize()
getPageSize
in interface IAWTScroller
public int getPosition()
getPosition
in interface IAWTScroller
public Range getRange()
getRange
in interface IAWTScroller
public int getStepSize()
getStepSize
in interface IAWTScroller
Copyright 2009-2012 Micro Focus. All Rights Reserved.