Package com.hp.lft.sdk.web
Class ButtonDescription.Init<T extends ButtonDescription.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.ButtonDescription.Init<T>
- Direct Known Subclasses:
- ButtonDescription.Builder,- ButtonDescription.Init,- RadioButtonDescription.Init
- Enclosing class:
- ButtonDescription
protected abstract static class ButtonDescription.Init<T extends ButtonDescription.Init<T>>
extends WebElementDescription.Init<T>
Helper class for ButtonDescription.Builder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Returns the built description instance (builder pattern).buttonType(StringProperty buttonType) Initializes the type of button, for example, submit or reset.buttonType(String buttonType) Initializes the type of button, for example, submit or reset.Initializes whether the button is enabled.text(StringProperty text) Initializes the text on the button.Initializes the text on the button.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 ButtonDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
 
- 
buttonTypeInitializes the type of button, for example, submit or reset.- Parameters:
- buttonType- the button type.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
buttonTypeInitializes the type of button, for example, submit or reset.- Parameters:
- buttonType- a StringProperty(or RegExpProperty) representing the button type.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
textInitializes the text on the button.- Parameters:
- text- the text on the button.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
textInitializes the text on the button.- Parameters:
- text- a StringProperty (or RegExpProperty) representing the text on the button.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
enabledInitializes whether the button is enabled.- Parameters:
- enabled- whether the button is enabled.
- Returns:
- the description instance with the update state (builder pattern).
 
 
-