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 TypeMethod and Description
      voidscrollOnePage(ScrollPageDirection direction)
      Scrolls the object one page in the specified direction.
      voidscrollToOffset(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.