Interface DesktopTableBehavior


public interface DesktopTableBehavior
Desktop functionality provided for tables. See Table.getDesktop().
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clickColumnHeader(int columnNumber)
    Clicks the header of the specified column according to its index.
    void
    Clicks the header of the specified column according to its name.
    void
    Scrolls the table to the first page.
    int
    Returns the current page number in this table.
    void
    Scrolls the table to the last page.
    void
    moveColumn(int columnNumber, int toColumnNumber)
    Moves the specified column (by index) to the specified column position (by index).
    void
    moveColumn(int toColumnNumber, String column)
    Moves the specified column (by name) to the specified column position (by index).
    void
    moveColumn(String toColumn, int columnNumber)
    Moves the specified column (by index) to the specified new position (by name).
    void
    moveColumn(String column, String toColumn)
    Moves the specified column (by name) to the specified position (by name).
    void
    navigateToPage(int pageNumber)
    Scrolls the table to the specified page.
    void
    Scrolls the table to the next page.
    void
    openMenu(int columnNumber)
    Clicks the column header (according to its index) to open the associated menu.
    void
    openMenu(String columnName)
    Clicks the column header (by name) to open the associated menu.
    void
    Scrolls the table to the previous page.
    void
    resizeColumn(int width, int columnNmber)
    Resizes the specified column (by index) to the specified width.
    void
    resizeColumn(String column, int width)
    Resizes the specified column (according to its name) to the specified width.
  • Method Details

    • getCurrentPage

      int getCurrentPage() throws GeneralLeanFtException
      Returns the current page number in this table.
      Returns:
      The current page number in this table.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • moveColumn

      void moveColumn(int columnNumber, int toColumnNumber) throws GeneralLeanFtException
      Moves the specified column (by index) to the specified column position (by index).
      Parameters:
      columnNumber - the index of the column to move (1-based).
      toColumnNumber - the index of the column to move to (1-based).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • moveColumn

      void moveColumn(String column, String toColumn) throws GeneralLeanFtException
      Moves the specified column (by name) to the specified position (by name).
      Parameters:
      column - the name of the column to move.
      toColumn - the name of the column to move to.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • moveColumn

      void moveColumn(String toColumn, int columnNumber) throws GeneralLeanFtException
      Moves the specified column (by index) to the specified new position (by name).
      Parameters:
      toColumn - the name of column to move to.
      columnNumber - the number of the column to move (1-based).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • moveColumn

      void moveColumn(int toColumnNumber, String column) throws GeneralLeanFtException
      Moves the specified column (by name) to the specified column position (by index).
      Parameters:
      toColumnNumber - the number of the column to move (1-based).
      column - the name of the column to move.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • resizeColumn

      void resizeColumn(int width, int columnNmber) throws GeneralLeanFtException
      Resizes the specified column (by index) to the specified width.
      Parameters:
      width - the width to resize to.
      columnNmber - the index of the column to resize.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • resizeColumn

      void resizeColumn(String column, int width) throws GeneralLeanFtException
      Resizes the specified column (according to its name) to the specified width.
      Parameters:
      column - the name of the column to resize.
      width - the width to resize to.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • openMenu

      void openMenu(int columnNumber) throws GeneralLeanFtException
      Clicks the column header (according to its index) to open the associated menu.
      Parameters:
      columnNumber - the column number to click (1-based).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • openMenu

      void openMenu(String columnName) throws GeneralLeanFtException
      Clicks the column header (by name) to open the associated menu.
      Parameters:
      columnName - the column name to click.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • nextPage

      void nextPage() throws GeneralLeanFtException
      Scrolls the table to the next page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • previousPage

      void previousPage() throws GeneralLeanFtException
      Scrolls the table to the previous page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • firstPage

      void firstPage() throws GeneralLeanFtException
      Scrolls the table to the first page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • lastPage

      void lastPage() throws GeneralLeanFtException
      Scrolls the table to the last page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • clickColumnHeader

      void clickColumnHeader(int columnNumber) throws GeneralLeanFtException
      Clicks the header of the specified column according to its index.
      Parameters:
      columnNumber - the index of the column to click (1-based).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • clickColumnHeader

      void clickColumnHeader(String columnName) throws GeneralLeanFtException
      Clicks the header of the specified column according to its name.
      Parameters:
      columnName - the name of the column to click.
      Throws:
      GeneralLeanFtException - if error occurs during execution