Package com.hp.lft.sdk.wpf
Class ButtonDescription.Init<T extends ButtonDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init<T>
com.hp.lft.sdk.wpf.ButtonDescription.Init<T>
- Direct Known Subclasses:
ButtonDescription.Builder
- Enclosing class:
- ButtonDescription
protected abstract static class ButtonDescription.Init<T extends ButtonDescription.Init<T>>
extends UiObjectDescriptionBase.Init<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).helpText
(StringProperty helpText) Initializes the help text associated with this object.Initializes help text associated with this object.name
(StringProperty name) Initializes the name of this object.Initializes the name of this object.parentText
(StringProperty parentText) Initializes text associated with the parent object of this object.parentText
(String parentText) Initializes the text associated with the parent object of this object.Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init
absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, canFocus, enabled, focused, fullNamePath, fullNamePath, fullType, fullType, location, location, location, nativeClass, nativeClass, objectName, objectName, size, size, size, text, text, visible, windowTitleRegExp, windowTitleRegExp
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 classDescriptionBase.Init<T extends ButtonDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
parentText
Initializes text associated with the parent object of this object.- Parameters:
parentText
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
parentText
Initializes the text associated with the parent object of this object.- Parameters:
parentText
- text associated with the parent object- Returns:
- the description instance with the update state (builder pattern)
-
name
Initializes the name of this object.- Parameters:
name
- a StringProperty (or RegExpProperty) representing the text associated with the name of the object.- Returns:
- the description instance with the update state (builder pattern)
-
name
Initializes the name of this object.- Parameters:
name
- the name of this object- Returns:
- the description instance with the update state (builder pattern)
-
helpText
Initializes the help text associated with this object.- Parameters:
helpText
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
helpText
Initializes help text associated with this object.- Parameters:
helpText
- the help text associated with the this object- Returns:
- the description instance with the update state (builder pattern)
-