Class GridBaseDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable
Direct Known Subclasses:
AgGridDescription, UiGridDescription

public abstract class GridBaseDescription extends WebElementDescription
The base description of a Web Grid test object.
  • Constructor Details

    • GridBaseDescription

      public GridBaseDescription()
      Initializes a new instance of the GridBaseDescription class.
    • GridBaseDescription

      protected GridBaseDescription(GridBaseDescription.Init<?> init)
      Initializes a new instance of the GridBaseDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setRowsCount

      public void setRowsCount(Integer rowsCount)
      Sets the number of rows in the table including the header.
      Parameters:
      rowsCount - the number of rows in the table including the header.
    • getRowsCount

      public Integer getRowsCount()
      Returns the number of rows in the table including the header.
      Returns:
      the number of rows in the table including the header.
    • setColumnsCount

      public void setColumnsCount(Integer columnsCount)
      Sets the number of columns in the table.
      Parameters:
      columnsCount - the number of columns in the table.
    • getColumnsCount

      public Integer getColumnsCount()
      Returns the number of columns in the table.
      Returns:
      the number of columns in the table.
    • setColumnHeaders

      public void setColumnHeaders(String[] columnHeaders)
      Sets a collection of column headers.
      Parameters:
      columnHeaders - a collection of column headers.
    • getColumnHeaders

      public String[] getColumnHeaders()
      Returns the collection of column headers.
      Returns:
      the collection of column headers.