Open topic with navigation

com.hp.lft.sdk.winforms

## 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 Windows Forms 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` | `activateRow(int row)` Double-clicks the specified row header in this grid.
    `CustomGridsProvider` | `getCustomGrid()` The returned object enables access to supported custom grids.
    `java.lang.String` | `getErrorText()` Returns the tooltip text of the error icon associated with this object.
    `GridType` | `getGridType()` Returns the grid type of the test object.
    `void` | `makeCellVisible(int row, int column)` Scrolls the specified cell into view.
    `void` | `selectCell(int row, int column)` Selects (clicks) the specified cell in this grid.
    `void` | `selectRow(int row)` Selects (clicks) the specified row header in this grid.

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

      `fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindow`

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

    - #### activateCell

          void activateCell(int row,
                            int column)
                     throws GeneralLeanFtException

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

    - #### activateRow

          void activateRow(int row)
                    throws GeneralLeanFtException

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

    - #### makeCellVisible

          void makeCellVisible(int row,
                               int column)
                        throws GeneralLeanFtException

      Scrolls the specified cell into view.
      Parameters:
        `row` - 0-based row number.
        `column` - 0-based column index.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectCell

          void selectCell(int row,
                          int column)
                   throws GeneralLeanFtException

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

    - #### selectRow

          void selectRow(int row)
                  throws GeneralLeanFtException

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

    - #### getErrorText

          java.lang.String getErrorText()
                                 throws GeneralLeanFtException

      Returns the tooltip text of the error icon associated with this object.
      Returns:
        the tooltip text of the error icon associated with this object.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getGridType

                                                      GridType getGridType()
                        throws GeneralLeanFtException

      Returns the grid type of the test object. Returns `Unknown` if the grid type cannot be determined.
      Returns:
        the grid type, or `Unknown`
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getCustomGrid

                                                      CustomGridsProvider getCustomGrid()
                                     throws GeneralLeanFtException

      The returned object enables access to supported custom grids.
      Returns:
        the custom grids
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.