Package com.hp.lft.sdk.web
Class RadioGroupDescription.Init<T extends RadioGroupDescription.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.FormFieldDescription.Init<T>
com.hp.lft.sdk.web.RadioGroupDescription.Init<T>
- Direct Known Subclasses:
RadioGroupDescription.Builder
- Enclosing class:
- RadioGroupDescription
protected abstract static class RadioGroupDescription.Init<T extends RadioGroupDescription.Init<T>>
extends FormFieldDescription.Init<T>
Helper class for RadioGroupDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the object is enabled.hasSelectedItem
(Boolean hasSelectedItem) Initializes whether there is a selected item in the group.Initializes the items in the radio group.itemsCount
(Integer count) Initializes the number of items in the radio group.selectedIndex
(Integer selectedIndex) Initializes the index of the selected item in the radio group (or -1 if none is selected).selectedItem
(StringProperty selectedItem) Initializes the currently selected item (or null if none is selected).selectedItem
(String selectedItem) Initializes the currently selected item (or null if none is selected).type
(StringProperty type) Initializes the type of object as defined in the HTML input tag.Initializes the type of object as defined in the HTML input tag.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 RadioGroupDescription.Init<T>>
- Returns:
- The built description instance (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).
-
type
Initializes the type of object as defined in the HTML input tag.- Overrides:
type
in classFormFieldDescription.Init<T extends RadioGroupDescription.Init<T>>
- Parameters:
type
- the type of object as defined in the HTML input tag.- Returns:
- the description instance with the update state (builder pattern).
-
type
Initializes the type of object as defined in the HTML input tag.- Overrides:
type
in classFormFieldDescription.Init<T extends RadioGroupDescription.Init<T>>
- Parameters:
type
- a StringProperty(or RegExpProperty) representing the type of object as defined in the HTML input tag.- Returns:
- the description instance with the update state (builder pattern).
-
selectedItem
Initializes the currently selected item (or null if none is selected).- Parameters:
selectedItem
- the currently selected item (or null if none is selected).- Returns:
- the description instance with the update state (builder pattern).
-
selectedItem
Initializes the currently selected item (or null if none is selected).- Parameters:
selectedItem
- a StringProperty(or RegExpProperty) representing the currently selected item (or null if none is selected).- Returns:
- the description instance with the update state (builder pattern).
-
selectedIndex
Initializes the index of the selected item in the radio group (or -1 if none is selected).- Parameters:
selectedIndex
- the index of the selected item in the radio group (or -1 if none is selected).- Returns:
- the description instance with the update state (builder pattern).
-
items
Initializes the items in the radio group.- Parameters:
items
- the items in the radio group.- Returns:
- the description instance with the update state (builder pattern).
-
itemsCount
Initializes the number of items in the radio group.- Parameters:
count
- the number of items in the radio group.- Returns:
- the description instance with the update state (builder pattern).
-
hasSelectedItem
Initializes whether there is a selected item in the group.- Parameters:
hasSelectedItem
- indicates whether an item is selected in the group.- Returns:
- the description instance with the update state (builder pattern).
-