Package com.hp.lft.sdk.winforms
Class UiObjectDescriptionBase.Init<T extends UiObjectDescriptionBase.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.winforms.UiObjectDescriptionBase.Init<T>
- Direct Known Subclasses:
ButtonDescription.Init
,CalendarDescription.Init
,CheckBoxDescription.Init
,ComboBoxDescription.Init
,EditFieldDescription.Init
,EditorDescription.Init
,LabelDescription.Init
,ListBoxDescription.Init
,PropertyGridDescription.Init
,RadioButtonDescription.Init
,ScrollBarDescription.Init
,SpinBoxDescription.Init
,StatusBarDescription.Init
,TabControlDescription.Init
,TableDescription.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 in pixels relative to the screen.absoluteLocation
(Point absLocation) Initializes the object's absolute coordinates in pixels relative to the screen.absoluteLocation
(Integer absX, Integer absY) Initializes the object's absolute coordinates in pixels relative to the screen.childWindow
(Boolean isChildWindow) Indicates whether the object's window is a child window.Initializes whether this object is enabled.Initializes whether this object has focus.fullNamePath
(StringProperty fullNamePath) Initializes the full hierarchy of this object with all parent objects.fullNamePath
(String fullNamePath) Initializes the full hierarchy of this object with all parent objects.fullType
(StringProperty fullType) Initializes the full type name of this object.Initializes the full type name of this object.location
(LocationProperty location) Initializes this object's coordinates in pixels relative to the parent window.Initializes this object's coordinates in pixels relative to the parent window.Initializes this object's coordinates in pixels relative to the parent window.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.objectName
(String objectName) Initializes the object's name.ownedWindow
(Boolean isOwnedWindow) Indicates whether the object's window has an owner window.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 this object.Initializes the permanent part of the text associated with this object.Initializes whether this object is visible.windowClassRegExp
(StringProperty windowClassRegExp) Initializes the permanent part of the MFC window class.windowClassRegExp
(String windowClassRegExp) Initializes the permanent part of the MFC window class.Initializes the object's window identifier.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
-
fullType
Initializes the full type name of this object.- Parameters:
fullType
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
fullType
Initializes the full type name of this object.- Parameters:
fullType
- the full type name- Returns:
- the description instance with the update state (builder pattern)
-
fullNamePath
Initializes the full hierarchy of this object with all parent objects.- Parameters:
fullNamePath
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
fullNamePath
Initializes the full hierarchy of this object with all parent objects.- Parameters:
fullNamePath
- the full hierarchy- Returns:
- the description instance with the update state (builder pattern)
-
objectName
Initializes the object's name.- Parameters:
objectName
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
objectName
Initializes the object's name.- Parameters:
objectName
- the object's name- Returns:
- the description instance with the update state (builder pattern)
-
nativeClass
Initializes the object's window class name.- Parameters:
nativeClass
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
nativeClass
Initializes the object's window class name.- Parameters:
nativeClass
- the window class name- Returns:
- the description instance with the update state (builder pattern)
-
windowId
Initializes the object's window identifier.- Parameters:
windowId
- the window ID- Returns:
- the description instance with the update state (builder pattern)
-
enabled
Initializes whether this object is enabled.- Parameters:
isEnabled
- true if enabled- Returns:
- the description instance with the update state (builder pattern)
-
focused
Initializes whether this object has focus.- Parameters:
isFocused
- true if has focus- Returns:
- the description instance with the update state (builder pattern)
-
windowClassRegExp
Initializes the permanent part of the MFC window class.- Parameters:
windowClassRegExp
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
windowClassRegExp
Initializes 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
Initializes the permanent part of the constant part of the window title.- Parameters:
windowTitleRegExp
- aStringProperty
orRegExpProperty
- 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 this object is visible.- Parameters:
isVisible
- true if visible- Returns:
- the description instance with the update state (builder pattern)
-
text
Initializes the permanent part of the text associated with this object.- Parameters:
text
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
text
Initializes the permanent part of the text associated with this object.- Parameters:
text
- the text- Returns:
- the description instance with the update state (builder pattern)
-
location
Initializes this object's coordinates in pixels relative to the parent window.- Parameters:
x
- in pixelsy
- in pixels- Returns:
- the description instance with the update state (builder pattern)
-
location
Initializes this object's coordinates in pixels relative to the parent window.- Parameters:
location
- the object's coordinates relative to the parent window- Returns:
- the description instance with the update state (builder pattern)
-
location
Initializes this object's coordinates in pixels relative to the parent window.- Parameters:
location
- the object's coordinates relative to the parent window- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the object's absolute coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absX
- the absolute X coordinate in pixelsabsY
- the absolute Y coordinate in pixels- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the object's absolute coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation
- a LocationProperty representing the object's absolute coordinates to the screen- Returns:
- the description instance with the update state (builder pattern)
-
absoluteLocation
Initializes the object's absolute coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation
- the object's absolute coordinates relative to the screen- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test object's size in pixels.- Parameters:
size
- the size- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test object's size in pixels.- Parameters:
width
- in pixelsheight
- in pixels- Returns:
- the description instance with the update state (builder pattern)
-
size
Initializes the test object's size in pixels.- Parameters:
size
- the size- Returns:
- the description instance with the update state (builder pattern)
-
childWindow
Indicates whether the object's window is a child window.- Parameters:
isChildWindow
- true if a child window- Returns:
- the description instance with the update state (builder pattern)
-
ownedWindow
Indicates whether the object's window has an owner window.- Parameters:
isOwnedWindow
- true if has an owner window- Returns:
- the description instance with the update state (builder pattern)
-