Package com.hp.lft.sdk.wpf
Class WindowDescription
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.WindowDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of a WPF Window test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the WindowDescription class using the builder pattern.protected static classWindowDescription.Init<T extends WindowDescription.Init<T>> -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the WindowDescription class.protectedWindowDescription(WindowDescription.Init<?> init) -
Method Summary
Modifier and TypeMethodDescriptionReturn the text associated with the parent object of the object.isModal()Indicates whether the window is modal.voidSet whether the window is the modal 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.UiObjectDescriptionBase
canFocus, 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.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
WindowDescription
public WindowDescription()Initializes a new instance of the WindowDescription class. -
WindowDescription
-
-
Method Details
-
setModal
Set whether the window is the modal object.- Parameters:
isModal- whether the window is modal.
-
isModal
Indicates whether the window is modal.- Returns:
- true, if the window is modal.
-
setParentText
Sets the text associated with the parent object of this object.- Parameters:
parentText- the text to associate with the parent object
-
setParentText
Sets the text associated with the parent object of this object.- Parameters:
parentText- a StringProperty or RegExpProperty
-
getParentText
Return the text associated with the parent object of the object.- Returns:
- parentText the text associated with the parent
-