Share this page

com.hp.lft.sdk.wpf

## Interface Table

- All Superinterfaces:
    Clickable, DoubleClickable, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, VisibleProvider, WaitUntilVisibleProvider, WaitUntilEnabledProvider, EnabledProvider

      public interface Table
      extends UiObjectBase, TestObject

  A .NET WPF grid object.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `activateCell(int row, int column)` Double-clicks the specified cell in this grid.
    `void` | `activateCell(int row, java.lang.String columnHeader)` Double-clicks the specified cell in this grid.
    `void` | `extendSelect(int row)` Selects an additional item from the multi-selection grid. The entire row you specify is selected (in addition to any currently selected rows and cells).
    `void` | `extendSelect(int row, int column)` Adds the specified cell to the collection of selected items in this multi-selection grid.
    `void` | `extendSelect(int row, java.lang.String columnHeader)` Adds the specified cell to the collection of selected items in this multi-selection grid.
    `TableCell` | `getCell(int row, String columnHeader)` Returns a cell specified by row index and column header.
    `java.lang.String` | `getName()` Returns the name of this object.
    `java.util.List<TableRow>` | `getRows()` Returns table rows.
    `void` | `selectCell(int row, int column)` Clicks the specified cell in this grid.
    `void` | `selectCell(int row, java.lang.String columnHeader)` Clicks the specified cell in this grid.
    `void` | `selectColumn(int column)` Selects (clicks) the specified column header in the grid.
    `void` | `selectColumn(java.lang.String columnHeader)` Clicks the specified column header in this grid.
    `void` | `selectRow(int row)` clicks the specified row in this grid.

    - ### Methods inherited from interface com.hp.lft.sdk.wpf.UiObjectBase

      `canFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenu`

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

      `getHandle, getNativeClass, getWindowTitleRegExp, isEnabled, isFocused, isVisible, mouseMove`

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

      `click, click, click`

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

      `doubleClick, doubleClick, doubleClick`

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

      `getAbsoluteLocation, getLocation, getSize`

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

      `sendKeys, sendKeys`

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

      `dragAndDropOn, dragAndDropOn`

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

      `getNativeObject`

    - ### 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.WaitUntilEnabledProvider

      `waitUntilEnabled, waitUntilEnabled`

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

      `isEnabled`

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

      `waitUntilVisible, waitUntilVisible`

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

      `isVisible`

- - ### Method Detail

    - #### getName

          java.lang.String getName()
                            throws GeneralLeanFtException

      Returns the name of this object.
      Returns:
        the name
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### activateCell

          void activateCell(int row,
                            int column)
                     throws GeneralLeanFtException

      Double-clicks the specified cell in this grid.
      Parameters:
        `row` - 0-based row index
        `column` - 0-based column index
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### activateCell

          void activateCell(int row,
                            java.lang.String columnHeader)
                     throws GeneralLeanFtException

      Double-clicks the specified cell in this grid.
      Parameters:
        `row` - 0-based row index
        `columnHeader` - the column caption
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### extendSelect

          void extendSelect(int row)
                     throws GeneralLeanFtException

      Selects an additional item from the multi-selection grid.
      The entire row you specify is selected (in addition to any currently selected rows and cells).
      Parameters:
        `row` - 0-based row index.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### extendSelect

          void extendSelect(int row,
                            int column)
                     throws GeneralLeanFtException

      Adds the specified cell to the collection of selected items in this multi-selection grid.
      Parameters:
        `row` - 0-based row index
        `column` - 0-based column index
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### extendSelect

          void extendSelect(int row,
                            java.lang.String columnHeader)
                     throws GeneralLeanFtException

      Adds the specified cell to the collection of selected items in this multi-selection grid.
      Parameters:
        `row` - 0-based row index
        `columnHeader` - the column caption
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectCell

          void selectCell(int row,
                          int column)
                   throws GeneralLeanFtException

      Clicks the specified cell in this grid.
      Parameters:
        `row` - 0-based row index
        `column` - 0-based column index
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectCell

          void selectCell(int row,
                          java.lang.String columnHeader)
                   throws GeneralLeanFtException

      Clicks the specified cell in this grid.
      Parameters:
        `row` - 0-based row index
        `columnHeader` - the column caption
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectColumn

          void selectColumn(int column)
                     throws GeneralLeanFtException

      Selects (clicks) the specified column header in the grid.
      Parameters:
        `column` - 0-based column index.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectColumn

          void selectColumn(java.lang.String columnHeader)
                     throws GeneralLeanFtException

      Clicks the specified column header in this grid.
      Parameters:
        `columnHeader` - the column header name
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectRow

          void selectRow(int row)
                  throws GeneralLeanFtException

      clicks the specified row in this grid.
      Parameters:
        `row` - 0-based row index
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getRows

          java.util.List<TableRow> getRows()
                       throws GeneralLeanFtException

      Returns table rows.
      Returns:
        the rows
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getCell

          TableCell getCell(int row,
                            String columnHeader)
                     throws GeneralLeanFtException

      Returns a cell specified by row index and column header.
      Parameters:
        `row` - 0-based row index.
        `columnHeader` - the column header.
      Returns:
        the specified table cell
      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: