Package com.hp.lft.sdk.web
Class MenuDescription.Init<T extends MenuDescription.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.MenuDescription.Init<T>
- Direct Known Subclasses:
- MenuDescription.Builder
- Enclosing class:
- MenuDescription
protected abstract static class MenuDescription.Init<T extends MenuDescription.Init<T>>
extends WebElementDescription.Init<T>
Helper class for MenuDescription.Builder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Returns the built description instance (builder pattern).firstMenuItem(StringProperty firstMenuItem) Initializes the first item in the list of items in this menu.firstMenuItem(String firstMenuItem) Initializes the first item in the list of items in this menu.topLevelMenuItems(String[] topLevelMenuItems) Initializes the top level menu items in this object.topLevelMenuItemsCount(Integer topLevelMenuItemsCount) Initializes the number of top level menu items in this menu.Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.InitaccessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpathMethods inherited from class com.hp.lft.sdk.web.WebBaseDescription.InitabsoluteLocation, 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, visibleMethods inherited from class com.hp.lft.sdk.DescriptionBase.Initindex, objectProperties, self, vri, vri
- 
Constructor Details- 
Initprotected Init()
 
- 
- 
Method Details- 
buildDescription copied from class:DescriptionBase.InitReturns the built description instance (builder pattern).- Overrides:
- buildin class- WebElementDescription.Init<T extends MenuDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
 
- 
topLevelMenuItemsCountInitializes the number of top level menu items in this menu.- Parameters:
- topLevelMenuItemsCount- the number of top level menu items in this menu.
- Returns:
- The description instance with the update state (builder pattern).
 
- 
topLevelMenuItemsInitializes the top level menu items in this object.- Parameters:
- topLevelMenuItems- all top level menu items in this menu.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
firstMenuItemInitializes the first item in the list of items in this menu.- Parameters:
- firstMenuItem- the first item in the list of items in this menu.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
firstMenuItemInitializes the first item in the list of items in this menu.- Parameters:
- firstMenuItem- a StringProperty (or RegExpProperty) representing the first item in the list of items in this menu.
- firstMenuItem- a StringProperty (or RegExpProperty) representing the first item in the list of items in this menu.
- Returns:
- the description instance with the update state (builder pattern).
 
 
-