Package com.hp.lft.sdk.wpf
Class ButtonDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.wpf.UiObjectDescriptionBase
com.hp.lft.sdk.wpf.ButtonDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
The description of a WPF Button test object.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ButtonDescription class using the builder pattern.protected static classButtonDescription.Init<T extends ButtonDescription.Init<T>>
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the ButtonDescription class.protectedButtonDescription(ButtonDescription.Init<?> init) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the help text associated with this object.getName()Returns the name of this object.Returns the text associated with the parent object of this object.voidsetHelpText(StringProperty helpText) Sets the help text associated with this object.voidsetHelpText(String helpText) Sets the help text associated with this object.voidsetName(StringProperty name) Sets the name of this object.voidSets the name of this object.voidsetParentText(StringProperty parentText) Sets the text associated with the parent object of this object.voidsetParentText(String parentText) Sets the text associated with the parent object of this object.Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBasecanFocus, getAbsoluteLocation, getAttachedText, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setCanFocus, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
ButtonDescriptionpublic ButtonDescription()Initializes a new instance of the ButtonDescription class.
- 
ButtonDescription
 
- 
- 
Method Details- 
setParentTextSets the text associated with the parent object of this object.- Parameters:
- parentText- text associated with the parent object
 
- 
setParentTextSets the text associated with the parent object of this object.- Parameters:
- parentText- a- StringPropertyor- RegExpProperty
 
- 
getParentTextReturns the text associated with the parent object of this object.- Returns:
- parentText the text associated with the parent
 
- 
setNameSets the name of this object.- Parameters:
- name- the name of this object
 
- 
setNameSets the name of this object.- Parameters:
- name- a- StringPropertyor- RegExpProperty
 
- 
getNameReturns the name of this object.- Returns:
- name the name of the object.
 
- 
setHelpTextSets the help text associated with this object.- Parameters:
- helpText- the help text associated with the this object
 
- 
setHelpTextSets the help text associated with this object.- Parameters:
- helpText- a- StringPropertyor- RegExpProperty
 
- 
getHelpTextReturns the help text associated with this object.- Returns:
- helpText the help text
 
 
-