Package com.hp.lft.sdk.java
Class UiObjectBaseDescription.Init<T extends UiObjectBaseDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.java.UiObjectBaseDescription.Init<T>
- Direct Known Subclasses:
AppletDescription.Init
,ButtonDescription.Init
,CalendarDescription.Init
,CheckBoxDescription.Init
,EditorDescription.Init
,ExpandBarDescription.Init
,LabelDescription.Init
,LinkDescription.Init
,ListDescription.Init
,MenuDescription.Init
,RadioButtonDescription.Init
,SliderDescription.Init
,SpinBoxDescription.Init
,TabControlDescription.Init
,TableDescription.Init
,ToolBarDescription.Init
,TreeViewDescription.Init
,TreeViewTableDescription.Init
,UiObjectDescription.Init
,WindowDescription.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) Initializes the object's coordinates in pixels relative to the screen.absoluteLocation
(Point absLocation) Initializes the object's coordinates in pixels relative to the screen.absoluteLocation
(Integer absX, Integer absY) Initializes the object's coordinates in pixels relative to the screen.attachedText
(StringProperty attachedText) Initializes the static text that is attached to an object.attachedText
(String attachedText) Initializes the static text that is attached to an object.backgroundColor
(StringProperty backgroundColor) Initializes the object's background color.backgroundColor
(String backgroundColor) Initializes the object's background color.Initializes whether this object is enabled.Initializes whether this object has focus.foregroundColor
(StringProperty foregroundColor) Initializes the object's foreground color.foregroundColor
(String foregroundColor) Initializes the object's foreground color.label
(StringProperty label) Initializes object's label.Initializes object's label.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 object's Java class name.nativeClass
(String nativeClass) Initializes object's Java class name.objectName
(StringProperty objectName) Initializes object's internal name.objectName
(String objectName) Initializes object's internal name.path
(StringProperty path) Initializes the object's hierarchy (object ancestors).Initializes the object's hierarchy (object ancestors).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.tagName
(StringProperty tagName) Initializes test object's name.Initializes test object's name.Initializes whether this object is visible.Initializes whether this object is wrapped.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 object's Java class name.- Parameters:
nativeClass
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
nativeClass
Initializes object's Java class name.- Parameters:
nativeClass
- object's Java class name.- Returns:
- the description instance with the update state (builder pattern).
-
tagName
Initializes test object's name.- Parameters:
tagName
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
tagName
Initializes test object's name.- Parameters:
tagName
- test object's name.- Returns:
- the description instance with the update state (builder pattern).
-
label
Initializes object's label.- Parameters:
label
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
label
Initializes object's label.- Parameters:
label
- object's label.- Returns:
- the description instance with the update state (builder pattern).
-
path
Initializes the object's hierarchy (object ancestors).- Parameters:
path
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
path
Initializes the object's hierarchy (object ancestors).- Parameters:
path
- the object's hierarchy (object ancestors).- Returns:
- the description instance with the update state (builder pattern).
-
objectName
Initializes object's internal name.- Parameters:
objectName
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
objectName
Initializes object's internal name.- Parameters:
objectName
- object's internal name.- Returns:
- the description instance with the update state (builder pattern).
-
attachedText
Initializes the static text that is attached to an object.- Parameters:
attachedText
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
attachedText
Initializes the static text that is attached to an object.- Parameters:
attachedText
- the static text that is attached to an object.- Returns:
- the description instance with the update state (builder pattern).
-
backgroundColor
Initializes the object's background color.- Parameters:
backgroundColor
- the object's background color.- Returns:
- the description instance with the update state (builder pattern).
-
backgroundColor
Initializes the object's background color.- Parameters:
backgroundColor
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
foregroundColor
Initializes the object's foreground color.- Parameters:
foregroundColor
- the object's foreground color.- Returns:
- the description instance with the update state (builder pattern).
-
foregroundColor
Initializes the object's foreground color.- Parameters:
foregroundColor
- aStringProperty
orRegExpProperty
.- 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).
-
visible
Initializes whether this object is visible.- Parameters:
isVisible
- true if visible.- Returns:
- the description instance with the update state (builder pattern).
-
wrapped
Initializes whether this object is wrapped.- Parameters:
isWrapped
- tr if wrapped.- 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 pixels.y
- 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 coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.In a virtual device multi-screen environment in which the desktop area could span multiple physical screen devices, this coordinate is relative to the virtual coordinate system. Otherwise, this coordinate is relative to the coordinate system associated with the Component's GraphicsConfiguration.
- Parameters:
absX
- in pixels.absY
- in pixels.- Returns:
- the description instance with the update state (builder pattern).
-
absoluteLocation
Initializes the object's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation
- the object's coordinates.- Returns:
- the description instance with the update state (builder pattern).
-
absoluteLocation
Initializes the object's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation
- the object's coordinates.- 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 pixels.height
- 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).
-