Interface Table

All Superinterfaces:
EnabledProvider, Scrollable, TestObject, TestObjectDescriber, UiObjectBase, WaitUntilEnabledProvider

public interface Table extends UiObjectBase, TestObject, Scrollable
A table object in a mobile application.
  • Method Details

    • scroll

      void scroll(int index) throws GeneralLeanFtException
      Scrolls to the specified item in the table.
      Parameters:
      index - the numeric index of the item to scroll to.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • scroll

      void scroll(int section, int item) throws GeneralLeanFtException
      Scrolls to the specified item in the specified section of the table.
      Parameters:
      section - the numeric index of the section containing the item to scroll to.
      item - the numeric index of the item to scroll to.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • select

      void select(int index) throws GeneralLeanFtException
      Selects a row in the table.
      Parameters:
      index - the numeric index of the item to select.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • select

      void select(int section, int item) throws GeneralLeanFtException
      Selects an item in a section in the table.
      Parameters:
      section - the numeric index of the section in which to select the specified item.
      item - the numeric index of the item to select.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • insert

      void insert(int item) throws GeneralLeanFtException
      Inserts an item or section at the specified location in the table. (iOS Only)
      Parameters:
      item - the numeric index of the location for the new item.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • insert

      void insert(int section, int item) throws GeneralLeanFtException
      Inserts an item or section at the specified location in the table (iOS only).
      Parameters:
      section - the numeric index of the section in which to insert the specified item.
      item - the numeric index of the location for the new item.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • delete

      void delete(int item) throws GeneralLeanFtException
      Deletes the specified item from the table. (iOS Only)
      Parameters:
      item - the numeric index of the item to delete.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • delete

      void delete(int section, int item) throws GeneralLeanFtException
      Deletes the specified item or section (iOS only).
      Parameters:
      section - the numeric index of the section from which to delete the specified item.
      item - the numeric index of the item to delete.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • moveItem

      void moveItem(int srcItem, int destItem) throws GeneralLeanFtException
      Moves an item or section in the list (iOS only).
      Parameters:
      srcItem - the numeric index of the item to move.
      destItem - the numeric index of the new location for the item.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • moveItem

      void moveItem(int srcSection, int srcItem, int destSection, int destItem) throws GeneralLeanFtException
      Moves an item or section in the list (iOS only).
      Parameters:
      srcSection - the numeric index of the section from which to move the specified srcItem.
      srcItem - the numeric index of the item to move.
      destSection - the numeric index of the section in which to place the specified destItem.
      destItem - the numeric index of the new location for the item.
      Throws:
      GeneralLeanFtException - if error occurs during execution