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

Direct Known Subclasses:
TableDescription.Builder
Enclosing class:
TableDescription

protected abstract static class TableDescription.Init<T extends TableDescription.Init<T>> extends UiObjectBaseDescription.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 DescriptionBase.Init<T extends TableDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • rowsCount

      public T rowsCount(Integer rowsCount)
      Initializes the number of rows in a table.
      Parameters:
      rowsCount - the number of rows in a table.
      Returns:
      the description instance with the updated state (builder pattern).
    • columnsCount

      public T columnsCount(Integer columnsCount)
      Initializes the number of columns in a table.
      Parameters:
      columnsCount - the number of columns in a table.
      Returns:
      the description instance with the updated state (builder pattern).
    • columnHeaders

      public T columnHeaders(String[] columnHeaders)
      Initializes the collection of column headers in a table.
      Parameters:
      columnHeaders - the collection of column headers in a table.
      Returns:
      the description instance with the updated state (builder pattern).