Package com.hp.lft.sdk.stdwin
Class UiObjectBaseDescription.Init<T extends UiObjectBaseDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.stdwin.UiObjectBaseDescription.Init<T>
- Direct Known Subclasses:
ScrollBarDescription.Init
,SpinBoxDescription.Init
,StatusBarDescription.Init
,UiObjectWithLayoutInfoDescription.Init
- Enclosing class:
- UiObjectBaseDescription
protected abstract static class UiObjectBaseDescription.Init<T extends UiObjectBaseDescription.Init<T>>
extends DescriptionBase.Init<T>
Helper class for derived Builder classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabsoluteLocation
(LocationProperty absLocation) Sets the object's absolute coordinates relative to the screen (in pixels).absoluteLocation
(Point absLocation) Sets the object's absolute coordinates relative to the screen (in pixels).absoluteLocation
(Integer absX, Integer absY) Sets the object's absolute coordinates relative to the screen (in pixels).accessibleName
(StringProperty accessibleName) Sets the object's name, available for windowless objects only.accessibleName
(String accessibleName) Sets the object's name, available for windowless objects only.attachedText
(StringProperty attachedText) Sets the static text that is attached to this object.attachedText
(String attachedText) Sets the static text that is attached to this object.Sets whether the current object is enabled.Sets whether the current object is focused.location
(LocationProperty location) Sets the object's coordinates relative to the parent window (in pixels).Sets the object's coordinates relative to the parent window (in pixels).Sets the object's coordinates relative to the parent window (in pixels).nativeClass
(StringProperty nativeClass) Initializes the object's window class name.nativeClass
(String nativeClass) Sets the object's window class name.size
(SizeProperty size) Sets the test object's size (in pixels).Sets the test object's size (in pixels).Sets the test object's size (in pixels).text
(StringProperty text) Sets the permanent part of the text associated with the object.Sets the permanent part of the text associated with the object.Sets whether the current element is visible.windowClassRegExp
(StringProperty windowClassRegExp) Sets the permanent part of the MFC window class.windowClassRegExp
(String windowClassRegExp) Sets the permanent part of the MFC window class.windowExtendedStyle
(Long windowExtendedStyle) Sets the extended window style of the object as long.
Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.windowExtendedStyle
(EnumSet<WindowExtendedStyles> windowExtendedStyle) Sets the extended window style of the object.Sets the object's window identifier.windowStyle
(Long windowStyle) Sets the window style of the object as long.
Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.windowStyle
(EnumSet<WindowStyles> windowStyle) Sets the window style of the object.windowTitleRegExp
(StringProperty windowTitleRegExp) Sets the permanent part of the constant part of the window title.windowTitleRegExp
(String windowTitleRegExp) Sets 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
Sets the object's window class name.- Parameters:
nativeClass
- the object's window class name.- Returns:
- the description instance with the update state (builder pattern).
-
windowId
Sets the object's window identifier.- Parameters:
windowId
- object's window identifier.- Returns:
- the description instance with the update state (builder pattern).
-
accessibleName
Sets the object's name, available for windowless objects only.- Parameters:
accessibleName
- a StringProperty (or RegExpProperty) representing the object's name, available for windowless objects only.- Returns:
- the description instance with the update state (builder pattern).
-
accessibleName
Sets the object's name, available for windowless objects only.- Parameters:
accessibleName
- the object's name, available for windowless objects only.- Returns:
- the description instance with the update state (builder pattern).
-
attachedText
Sets the static text that is attached to this object.- 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
Sets the static text that is attached to this object.- Parameters:
attachedText
- the static text that is attached to a control.- Returns:
- the description instance with the update state (builder pattern).
-
enabled
Sets whether the current object is enabled.- Parameters:
isEnabled
- sets whether the current object is enabled.- Returns:
- the description instance with the update state (builder pattern).
-
focused
Sets whether the current object is focused.- Parameters:
isFocused
- the indication whether the current object is focused.- Returns:
- the description instance with the update state (builder pattern).
-
windowClassRegExp
Sets the permanent part of the MFC window class.- Parameters:
windowClassRegExp
- a StringProperty (or RegExpProperty) representing the permanent part of the MFC window class.- Returns:
- the description instance with the update state (builder pattern).
-
windowClassRegExp
Sets the permanent part of the MFC window class.- Parameters:
windowClassRegExp
- the permanent part of the MFC window class.- Returns:
- the description instance with the update state (builder pattern).
-
windowTitleRegExp
Sets 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
Sets 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
Sets whether the current element is visible.- Parameters:
isVisible
- sets whether the current element is visible.- Returns:
- the description instance with the update state (builder pattern).
-
text
Sets 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
Sets the permanent part of the text associated with the object.- Parameters:
text
- the text associated with the object.- Returns:
- the description instance with the update state (builder pattern).
-
windowExtendedStyle
Sets the extended window style of the object. Possible values:WindowExtendedStyles
Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.- Parameters:
windowExtendedStyle
- the extended window style of the object.- Returns:
- the extended window style of the object.
-
windowStyle
Sets the window style of the object. Possible values:WindowStyles
Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.- Parameters:
windowStyle
- the window style of the object. Possible values:WindowStyles
- Returns:
- the window style of the object.
-
windowExtendedStyle
Sets the extended window style of the object as long.
Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.- Parameters:
windowExtendedStyle
- the extended window style of the object as long.- Returns:
- the extended window style of the object.
-
windowStyle
Sets the window style of the object as long.
Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.- Parameters:
windowStyle
- the window style of the object as long.- Returns:
- the window style of the object.
-
location
Sets 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
Sets 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
Sets 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
Sets the object's absolute coordinates relative to the screen (in pixels). 0,0 is 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
Sets the object's absolute coordinates relative to the screen (in pixels). 0,0 is 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
Sets the object's absolute coordinates relative to the screen (in pixels). 0,0 is 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
Sets 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
Sets 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
Sets 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).
-