Package com.hp.lft.sdk.web
Class TableDescription.Init<T extends TableDescription.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.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInitializes the number of pixels that are used as border on the table.build()
Returns the built description instance (builder pattern).columnHeaders
(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, 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
-
build
Description copied from class:DescriptionBase.Init
Returns the built description instance (builder pattern).- Overrides:
build
in classWebElementDescription.Init<T extends TableDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
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
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).
-