Open topic with navigation

com.hp.lft.sdk.mobile

## Interface Scrollable

- All Known Subinterfaces:
    Table, View, WebView

      public interface Scrollable

  Common functionality for mobile controls that can be scrolled.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `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 Detail

    - #### scrollToOffset

          void scrollToOffset(int x,
                              int y)
                       throws GeneralLeanFtException

      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 an error occurs during execution.

    - #### scrollOnePage

          void scrollOnePage(ScrollPageDirection direction)
                      throws GeneralLeanFtException

      Scrolls the object one page in the specified direction.
      Parameters:
        `direction` - the direction to scroll.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.