Open topic with navigation

com.hp.lft.sdk.web

## Class GridBaseDescription.Init<T extends GridBaseDescription.Init<T>>

Note: Supported in LeanFT versions 14.51 and later.

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.web.WebBaseDescription.Init<T>
    - - com.hp.lft.sdk.web.WebElementDescription.Init<T>
      - - com.hp.lft.sdk.web.GridBaseDescription.Init<T>

- Direct Known Subclasses:
    AgGridDescription.Init, UiGridDescription.Init
  Enclosing class:
    GridBaseDescription

      protected abstract static class GridBaseDescription.Init<T extends GridBaseDescription.Init<T>>
      extends WebElementDescription.Init<T>

  Helper class for derived Builder classes.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `GridBaseDescription.Init()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `columnHeaders(String[] columnHeaders)` Initializes a collection of column headers.
    `T` | `columnsCount(Integer columnsCount)` Initializes the number of columns in the table.
    `T` | `rowsCount(Integer rowsCount)` Initializes the number of rows in the table including the header.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, build, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GridBaseDescription.Init

          protected GridBaseDescription.Init()

  - ### Method Detail

    - #### rowsCount

          public T rowsCount(Integer rowsCount)

      Initializes the number of rows in the table including the header.
      Parameters:
        `rowsCount` - the number of rows in the table including the header.
      Returns:
        the description instance with the update state (builder pattern).

    - #### columnsCount

          public T columnsCount(Integer columnsCount)

      Initializes the number of columns in the table.
      Parameters:
        `columnsCount` - the number of columns in the table.
      Returns:
        the description instance with the update state (builder pattern).

    - #### columnHeaders

          public T columnHeaders(String[] columnHeaders)

      Initializes a collection of column headers.
      Parameters:
        `columnHeaders` - a collection of column headers.
      Returns:
        the description instance with the update state (builder pattern).