Package com.hp.lft.sdk.sap.ui5
Class MenubarDescription.Init<T extends MenubarDescription.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.sap.ui5.MenubarDescription.Init<T>
- Direct Known Subclasses:
MenubarDescription.Builder
- Enclosing class:
- MenubarDescription
protected abstract static class MenubarDescription.Init<T extends MenubarDescription.Init<T>>
extends WebElementDescription.Init<T>
Helper class for MenubarDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the menu bar is enabled.Initializes all items of the menubar.itemsCount
(Integer itemsCount) Initializes the number of items in the menu bar.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 MenubarDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
enabled
Initializes whether the menu bar is enabled.- Parameters:
enabled
- true to enable.- Returns:
- The description instance with the update state (builder pattern).
-
itemsCount
Initializes the number of items in the menu bar.- Parameters:
itemsCount
- the number of items in the menu bar.- Returns:
- The description instance with the update state (builder pattern).
-
items
Initializes all items of the menubar.- Parameters:
items
- all items of the menubar.- Returns:
- the description instance with the update state (builder pattern).
-