com.hp.lft.sdk.sap.ui5

Interface DesktopTableBehavior



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

      Modifier and TypeMethod and Description
      voidclickColumnHeader(int columnNumber)
      Clicks the header of the specified column according to its index.
      voidclickColumnHeader(java.lang.String columnName)
      Clicks the header of the specified column according to its name.
      voidfirstPage()
      Scrolls the table to the first page.
      intgetCurrentPage()
      Returns the current page number in this table.
      voidlastPage()
      Scrolls the table to the last page.
      voidmoveColumn(int columnNumber, int toColumnNumber)
      Moves the specified column (by index) to the specified column position (by index).
      voidmoveColumn(int toColumnNumber, java.lang.String column)
      Moves the specified column (by name) to the specified column position (by index).
      voidmoveColumn(java.lang.String toColumn, int columnNumber)
      Moves the specified column (by index) to the specified new position (by name).
      voidmoveColumn(java.lang.String column, java.lang.String toColumn)
      Moves the specified column (by name) to the specified position (by name).
      voidnavigateToPage(int pageNumber)
      Scrolls the table to the specified page.
      voidnextPage()
      Scrolls the table to the next page.
      voidopenMenu(int columnNumber)
      Clicks the column header (according to its index) to open the associated menu.
      voidopenMenu(java.lang.String columnName)
      Clicks the column header (by name) to open the associated menu.
      voidpreviousPage()
      Scrolls the table to the previous page.
      voidresizeColumn(int width, int columnNmber)
      Resizes the specified column (by index) to the specified width.
      voidresizeColumn(java.lang.String column, int width)
      Resizes the specified column (according to its name) to the specified width.
    • Method Detail

      • getCurrentPage

        int getCurrentPage()
                    throws GeneralLeanFtException
        Returns the current page number in this table.
        Returns:
        The current page number in this table.
        Throws:
        GeneralLeanFtException - if an 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 an error occurs during execution.
      • moveColumn

        void moveColumn(java.lang.String column,
                        java.lang.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 an error occurs during execution.
      • moveColumn

        void moveColumn(java.lang.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 an error occurs during execution.
      • moveColumn

        void moveColumn(int toColumnNumber,
                        java.lang.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 an 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 an error occurs during execution.
      • resizeColumn

        void resizeColumn(java.lang.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 an error occurs during execution.
      • navigateToPage

        void navigateToPage(int pageNumber)
                     throws GeneralLeanFtException
        Scrolls the table to the specified page.
        Parameters:
        pageNumber - the page number to scroll to.
        Throws:
        GeneralLeanFtException - if an 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 an error occurs during execution.
      • openMenu

        void openMenu(java.lang.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 an 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 an error occurs during execution.
      • clickColumnHeader

        void clickColumnHeader(java.lang.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 an error occurs during execution.