Package com.hp.lft.sdk.mobile
Interface Scrollable
public interface Scrollable
Common functionality for mobile controls that can be scrolled.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scrollOnePage
(ScrollPageDirection direction) Scrolls the object one page in the specified direction.void
scrollToOffset
(int x, int y) Scrolls the object to the specified x,y coordinates.
-
Method Details
-
scrollToOffset
Scrolls the object to the specified x,y coordinates.- Parameters:
x
- the x-coordinate for the scroll operation, in pixels. The specified coordinate is relative to the left side of the object. If an object does not support horizontal scrolling, x = 0.y
- the y-coordinate for the scroll operation, in pixels. The specified coordinate is relative to the top of the object.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
scrollOnePage
Scrolls the object one page in the specified direction.- Parameters:
direction
- the direction to scroll.- Throws:
GeneralLeanFtException
- if error occurs during execution
-