Class TableDescription

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

public class TableDescription extends WebElementDescription
The description of a Web Table test object.
  • Constructor Details

    • TableDescription

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

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

    • setBorder

      public void setBorder(Integer border)
      Sets 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.
    • getBorder

      public Integer getBorder()
      Returns the number of pixels that are used as border on the table.
      Returns:
      the number of pixels that are used as border on the table.
    • 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.