Package com.hp.lft.sdk.sap.nwbc
Class UiObjectDescriptionBase.Init<T extends UiObjectDescriptionBase.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.sap.nwbc.UiObjectDescriptionBase.Init<T>
- Direct Known Subclasses:
OKCodeDescription.Init,ShellWindowDescription.Init,TabStripDescription.Init,ToggleButtonDescription.Init,UiObjectDescriptionBase.Builder
- 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 element's coordinates in pixels relative to the screen.absoluteLocation(Point absLocation) Initializes the element's coordinates in pixels relative to the screen.absoluteLocation(Integer absX, Integer absY) Initializes the element's coordinates in pixels relative to the screen.build()Returns the built description instance (builder pattern).Sets the is enabled property of the test object description.Sets whether the object is focused.fullNamePath(StringProperty fullNamePath) Sets the full name path property of the test object description.fullNamePath(String fullNamePath) Sets the full name path property of the test object description.fullType(StringProperty fullType) Sets the full type property of the test object description.Sets the full type property of the test object description.location(LocationProperty location) Initializes this element's coordinates in pixels relative to the parent window.Initializes this element's coordinates in pixels relative to the parent window.Initializes this element's coordinates in pixels relative to the parent window.name(StringProperty name) Sets the name property of the test object description.Sets the name property of the test object description.objectName(StringProperty objectName) Sets the object name property of the test object description.objectName(String objectName) Sets the object name property of the test object description.size(SizeProperty size) Initializes the test element's size in pixels.Initializes the test element's size in pixels.Initializes the test element's size in pixels.text(StringProperty text) Sets the text property of the test object description.Sets the is visible property of the test object description.windowTitleRegExp(StringProperty windowTitleRegExp) Sets the constant part of the window title.windowTitleRegExp(String windowTitleRegExp) Sets the constant part of the window title.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.InitReturns the built description instance (builder pattern).- Overrides:
buildin classDescriptionBase.Init<T extends UiObjectDescriptionBase.Init<T>>- Returns:
- The built description instance (builder pattern).
-
objectName
Sets the object name property of the test object description.- Parameters:
objectName- The object name to set.- Returns:
- The description instance with the updated property.
-
objectName
Sets the object name property of the test object description.- Parameters:
objectName- The object name to set.- Returns:
- The description instance with the updated property.
-
fullNamePath
Sets the full name path property of the test object description.- Parameters:
fullNamePath- The full name path to set.- Returns:
- The description instance with the updated property.
-
fullNamePath
Sets the full name path property of the test object description.- Parameters:
fullNamePath- The full name path to set.- Returns:
- The description instance with the updated property.
-
fullType
Sets the full type property of the test object description.- Parameters:
fullType- The full type to set.- Returns:
- The description instance with the updated property.
-
fullType
Sets the full type property of the test object description.- Parameters:
fullType- The full type to set.- Returns:
- The description instance with the updated property.
-
name
Sets the name property of the test object description.- Parameters:
name- The name to set.- Returns:
- The description instance with the updated property.
-
name
Sets the name property of the test object description.- Parameters:
name- The name to set.- Returns:
- The description instance with the updated property.
-
enabled
Sets the is enabled property of the test object description.- Parameters:
isEnabled- The is enabled value to set.- Returns:
- The description instance with the updated property.
-
focused
Sets whether the object is focused.- Parameters:
isFocused- true if the object is focused, false otherwise.- Returns:
- The description instance with the updated property.
-
windowTitleRegExp
Sets the constant part of the window title.- Parameters:
windowTitleRegExp- the constant part of the window title as aStringPropertyorRegExpProperty.- Returns:
- The description instance with the updated property.
-
windowTitleRegExp
Sets the constant part of the window title.- Parameters:
windowTitleRegExp- the constant part of the window title as a String.- Returns:
- The description instance with the updated property.
-
visible
Sets the is visible property of the test object description.- Parameters:
isVisible- The is visible value to set.- Returns:
- The description instance with the updated property.
-
text
Sets the text property of the test object description.- Parameters:
text- The text to set.- Returns:
- The description instance with the updated property.
-
location
Initializes this element's coordinates in pixels relative to the parent window.- Parameters:
x- in pixels.y- in pixels.- Returns:
- the description instance with the update state (builder pattern).
-
location
Initializes this element's coordinates in pixels relative to the parent window.- Parameters:
location- the element's coordinates.- Returns:
- the description instance with the update state (builder pattern).
-
location
Initializes this element's coordinates in pixels relative to the parent window.- Parameters:
location- the element's coordinates.- Returns:
- the description instance with the update state (builder pattern).
-
absoluteLocation
Initializes the element's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absX- the absolute X.absY- the absolute Y.- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the element's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation- the element's absolute coordinates.- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the element's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation- the element's absolute coordinates.- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test element's size in pixels.- Parameters:
size- the size.- Returns:
- the description instance with the update state (builder pattern).
-
size
Initializes the test element's size in pixels.- Parameters:
width- in pixels.height- in pixels.- Returns:
- the description instance with the update state (builder pattern).
-
size
Initializes the test element's size in pixels.- Parameters:
size- the size.- Returns:
- the description instance with the update state (builder pattern).
-