Package com.hp.lft.sdk.sap.ui5
Interface DesktopTableBehavior
public interface DesktopTableBehavior
Desktop functionality provided for tables. See
Table.getDesktop()
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
clickColumnHeader
(int columnNumber) Clicks the header of the specified column according to its index.void
clickColumnHeader
(String columnName) 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
lastPage()
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
nextPage()
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
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
Returns the current page number in this table.- Returns:
- The current page number in this table.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
moveColumn
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
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
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
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
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
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
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
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
Scrolls the table to the next page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
previousPage
Scrolls the table to the previous page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
firstPage
Scrolls the table to the first page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
lastPage
Scrolls the table to the last page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
clickColumnHeader
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
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
-