Package com.hp.lft.sdk.web
Class GridBaseDescription.Init<T extends GridBaseDescription.Init<T>>
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 -
Method Summary
Modifier and TypeMethodDescriptioncolumnHeaders
(String[] columnHeaders) Initializes a collection of column headers.columnsCount
(Integer columnsCount) Initializes the number of columns in the table.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, objectProperties, self, vri, vri
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
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
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
Initializes a collection of column headers.- Parameters:
columnHeaders
- a collection of column headers.- Returns:
- the description instance with the update state (builder pattern).
-