Class TableDescription.Init<T extends TableDescription.Init<T>>

Direct Known Subclasses:
TableDescription.Builder, TableDescription.Init
Enclosing class:
TableDescription

protected abstract static class TableDescription.Init<T extends TableDescription.Init<T>> extends WebElementDescription.Init<T>
Helper class for TableDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public TableDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class WebElementDescription.Init<T extends TableDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • border

      public T border(Integer border)
      Initializes the number of pixels that are used as border on the table.
      Parameters:
      border - the number of pixels that are used as border on the table.
      Returns:
      the description instance with the update state (builder pattern).
    • 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).