Share this page

com.hp.lft.sdk.sap.gui

## Interface Table

- All Superinterfaces:
    Element, LocationInfoProvider, SupportsNativeObject, TableBase<TableCell>, TestObject, TestObjectDescriber, WaitUntilEnabledProvider, EnabledProvider

      public interface Table
      extends TableBase<TableCell>

  A table control in a SAP GUI for Windows application.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `TableSelectionMode` | `getColumnSelectionMode()` Returns which selections can be made on columns.
    `TableSelectionMode` | `getRowSelectionMode()` Returns which selections can be made on rows.
    `boolean` | `isValidRow(int rowIndex)` Indicates whether there is a row in the table with the specified index.
    `void` | `pressSettingsButton()` Presses the table setting button.
    `void` | `selectAllColumns()` Selects all columns in the table.

    - ### Methods inherited from interface com.hp.lft.sdk.sap.gui.TableBase

      `activateCell, activateCell, deselectColumn, deselectColumn, deselectRow, deselectRowRange, findAllRowsWithCellTextInColumn, findAllRowsWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, getRows, getTitle, isEnabled, selectCell, selectCell, selectColumn, selectColumn, selectRow, selectRowRange`

    - ### Methods inherited from interface com.hp.lft.sdk.sap.gui.Element

      `getId, getName, getType`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObject

      `exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber

      `describe`

    - ### Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider

      `getAbsoluteLocation, getLocation, getSize`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject

      `getNativeObject`

    - ### Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider

      `waitUntilEnabled, waitUntilEnabled`

    - ### Methods inherited from interface com.hp.lft.sdk.EnabledProvider

      `isEnabled`

- - ### Method Detail

    - #### getColumnSelectionMode

                                                      TableSelectionMode getColumnSelectionMode()
                                             throws GeneralLeanFtException

      Returns which selections can be made on columns.
      Returns:
        the selection mode.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getRowSelectionMode

                                                      TableSelectionMode getRowSelectionMode()
                                          throws GeneralLeanFtException

      Returns which selections can be made on rows.
      Returns:
        the selection mode.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### pressSettingsButton

          void pressSettingsButton()
                            throws GeneralLeanFtException

      Presses the table setting button.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectAllColumns

          void selectAllColumns()
                         throws GeneralLeanFtException

      Selects all columns in the table.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### isValidRow

          boolean isValidRow(int rowIndex)
                      throws GeneralLeanFtException

      Indicates whether there is a row in the table with the specified index.
      Parameters:
        `rowIndex` - 1-based.
      Returns:
        true if there is a row with the specified index.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: