Package com.hp.lft.sdk.web
Class TabStripDescription.Init<T extends TabStripDescription.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.TabStripDescription.Init<T>
- Direct Known Subclasses:
TabStripDescription.Builder
- Enclosing class:
- TabStripDescription
protected abstract static class TabStripDescription.Init<T extends TabStripDescription.Init<T>>
extends WebElementDescription.Init<T>
Helper class for TabStripDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the object is enabled.firstTab
(StringProperty firstTab) Initializes the first tab in the list of tabs in this tab strip.Initializes the first tab in the list of tabs in this tab strip.Initializes the tab names in this tab strip.Initializes the number of tabs in this tab strip.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 TabStripDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
tabsCount
Initializes the number of tabs in this tab strip.- Parameters:
tabsCount
- the number of tabs in this tab strip.- Returns:
- The description instance with the update state (builder pattern).
-
tabs
Initializes the tab names in this tab strip.- Parameters:
tabs
- all tab names in this tab strip.- Returns:
- the description instance with the update state (builder pattern).
-
firstTab
Initializes the first tab in the list of tabs in this tab strip.- Parameters:
firstTab
- the first tab in the list of tabs in this tab strip.- Returns:
- the description instance with the update state (builder pattern).
-
firstTab
Initializes the first tab in the list of tabs in this tab strip.- Parameters:
firstTab
- a StringProperty (or RegExpProperty) representing the first tab in the list of tabs in this tab strip.- Returns:
- the description instance with the update state (builder pattern).
-
enabled
Initializes whether the object is enabled.- Parameters:
isEnabled
- true if the object is enabled.- Returns:
- the description instance with the update state (builder pattern).
-