Package com.hp.lft.sdk.wpf
Class UiObjectDescriptionBase.Init<T extends UiObjectDescriptionBase.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init<T>
- Direct Known Subclasses:
ButtonDescription.Init
,CalendarDescription.Init
,CheckBoxDescription.Init
,ComboBoxDescription.Init
,EditFieldDescription.Init
,ImageDescription.Init
,LinkDescription.Init
,ListDescription.Init
,MenuDescription.Init
,ProgressBarDescription.Init
,RadioButtonDescription.Init
,ScrollBarDescription.Init
,SliderDescription.Init
,StatusBarDescription.Init
,TableDescription.Init
,TabStripDescription.Init
,ToolBarDescription.Init
,TreeViewDescription.Init
,UiObjectDescription.Init
,WindowDescription.Init
- Enclosing class:
- UiObjectDescriptionBase
protected abstract static class UiObjectDescriptionBase.Init<T extends UiObjectDescriptionBase.Init<T>>
extends DescriptionBase.Init<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabsoluteLocation
(LocationProperty absLocation) Initializes the object's absolute coordinates relative to the screen (in pixels).absoluteLocation
(Point absLocation) Initializes the object's absolute coordinates relative to the screen (in pixels).absoluteLocation
(Integer absX, Integer absY) Initializes the object's absolute coordinates relative to the screen (in pixels).attachedText
(StringProperty attachedText) Initializes the static text that is attached to a control.attachedText
(String attachedText) Initializes the static text that is attached to a control.Initializes whether the current element is can focus.Initializes whether the current element is enabled.Initializes whether the current element is focused.fullNamePath
(StringProperty fullNamePath) Initializes the full hierarchy of ObjectName with all parent objects.fullNamePath
(String fullNamePath) Initializes the full hierarchy of ObjectName with all parent objects.fullType
(StringProperty fullType) Initializes the full type name of the object.Initializes the full type name of the object.location
(LocationProperty location) Initializes the object's coordinates relative to the parent window (in pixels).Initializes the object's coordinates relative to the parent window (in pixels).Initializes the object's coordinates relative to the parent window (in pixels).nativeClass
(StringProperty nativeClass) Initializes the object's window class name.nativeClass
(String nativeClass) Initializes the object's window class name.objectName
(StringProperty objectName) Initializes the object's name as set by the developer.objectName
(String objectName) Initializes the object's name as set by the developer.size
(SizeProperty size) Initializes the test object's size (in pixels).Initializes the test object's size (in pixels).Initializes the test object's size (in pixels).text
(StringProperty text) Initializes the permanent part of the text associated with the object.Initializes the permanent part of the text associated with the object.Initializes whether the current element is visible.windowTitleRegExp
(StringProperty windowTitleRegExp) Initializes the permanent part of the constant part of the window title.windowTitleRegExp
(String windowTitleRegExp) Initializes the permanent part of the constant part of the window title.Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init
build, index, objectProperties, self, vri, vri
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
nativeClass
Initializes the object's window class name.- Parameters:
nativeClass
- a StringProperty (or RegExpProperty) representing the object's window class name.- Returns:
- the description instance with the update state (builder pattern)
-
nativeClass
Initializes the object's window class name.- Parameters:
nativeClass
- the object's window class name.- Returns:
- the description instance with the update state (builder pattern)
-
enabled
Initializes whether the current element is enabled.- Parameters:
isEnabled
- whether the current element is enabled.- Returns:
- the description instance with the update state (builder pattern)
-
focused
Initializes whether the current element is focused.- Parameters:
isFocused
- whether the current element is focused.- Returns:
- the description instance with the update state (builder pattern)
-
windowTitleRegExp
Initializes the permanent part of the constant part of the window title.- Parameters:
windowTitleRegExp
- a StringProperty (or RegExpProperty) representing the constant part of the window title.- Returns:
- the description instance with the update state (builder pattern)
-
windowTitleRegExp
Initializes the permanent part of the constant part of the window title.- Parameters:
windowTitleRegExp
- the constant part of the window title.- Returns:
- the description instance with the update state (builder pattern)
-
visible
Initializes whether the current element is visible.- Parameters:
isVisible
- whether the current element is visible.- Returns:
- the description instance with the update state (builder pattern)
-
canFocus
Initializes whether the current element is can focus.- Parameters:
canFocus
- whether the current element can focus- Returns:
- the description instance with the update state (builder pattern)
-
text
Initializes the permanent part of the text associated with the object.- Parameters:
text
- a StringProperty (or RegExpProperty) representing text associated with the object.- Returns:
- the description instance with the update state (builder pattern)
-
text
Initializes the permanent part of the text associated with the object.- Parameters:
text
- text associated with the object.- Returns:
- the description instance with the update state (builder pattern)
-
attachedText
Initializes the static text that is attached to a control.- Parameters:
attachedText
- a StringProperty (or RegExpProperty) representing the static text that is attached to a control.- Returns:
- the description instance with the update state (builder pattern)
-
attachedText
Initializes the static text that is attached to a control.- Parameters:
attachedText
- the static text that is attached to a control.- Returns:
- the description instance with the update state (builder pattern)
-
location
Initializes the object's coordinates relative to the parent window (in pixels).- Parameters:
x
- the X coordinate of the test object location.y
- the Y coordinate of the test object location.- Returns:
- the description instance with the update state (builder pattern)
-
location
Initializes the object's coordinates relative to the parent window (in pixels).- Parameters:
location
- a LocationProperty representing the object's coordinates relative to the parent window (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
location
Initializes the object's coordinates relative to the parent window (in pixels).- Parameters:
location
- a Point representing the object's coordinates relative to the parent window (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
absX
- the absolute X coordinate of the test object location.absY
- the absolute Y coordinate of the test object location.- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
absLocation
- a LocationProperty representing the object's absolute coordinates relative to the screen (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
absLocation
- a Point representing the object's absolute coordinates relative to the screen (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test object's size (in pixels).- Parameters:
size
- the test object's size (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test object's size (in pixels).- Parameters:
width
- the width of the test object (in pixels).height
- the height of the test object (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test object's size (in pixels).- Parameters:
size
- the test object's size (in pixels).- Returns:
- the description instance with the update state (builder pattern)
-
fullType
Initializes the full type name of the object.- Parameters:
fullType
- the full type name of the object.- Returns:
- the description instance with the update state (builder pattern)
-
fullType
Initializes the full type name of the object.- Parameters:
fullType
- a StringProperty (or RegExpProperty) representing the full type name of the object.- Returns:
- the description instance with the update state (builder pattern)
-
fullNamePath
Initializes the full hierarchy of ObjectName with all parent objects.- Parameters:
fullNamePath
- a StringProperty (or RegExpProperty) representing full hierarchy of ObjectName with all parent objects.- Returns:
- the description instance with the update state (builder pattern)
-
fullNamePath
Initializes the full hierarchy of ObjectName with all parent objects.- Parameters:
fullNamePath
- the full hierarchy of ObjectName with all parent objects.- Returns:
- the description instance with the update state (builder pattern)
-
objectName
Initializes the object's name as set by the developer.- Parameters:
objectName
- a StringProperty (or RegExpProperty) representing object's name as set by the developer.- Returns:
- the description instance with the update state (builder pattern)
-
objectName
Initializes the object's name as set by the developer.- Parameters:
objectName
- the object's name as set by the developer.- Returns:
- the description instance with the update state (builder pattern)
-