Package com.hp.lft.sdk.sap.gui
Class ElementDescription.Init<T extends ElementDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.sap.gui.ElementDescription.Init<T>
- Direct Known Subclasses:
ButtonDescription.Init
,CalendarDescription.Init
,CheckBoxDescription.Init
,ComboBoxDescription.Init
,EditFieldDescription.Init
,EditorDescription.Init
,ElementDescription.Builder
,LabelDescription.Init
,MenubarDescription.Init
,OKCodeDescription.Init
,RadioButtonDescription.Init
,StatusBarDescription.Init
,TabControlDescription.Init
,TableBaseDescription.Init
,ToolBarDescription.Init
,TreeViewDescription.Init
,WindowDescription.Init
- Enclosing class:
- ElementDescription
protected abstract static class ElementDescription.Init<T extends ElementDescription.Init<T>>
extends DescriptionBase.Init<T>
Helper class for ElementDescription.Builder.
-
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).id
(StringProperty id) Initializes the element's unique identifier in text format.Initializes the element's unique identifier in text format.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) Initializes the name of the element.Initializes the name of the element.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.type
(ComponentType type) Initializes the GUI component type.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.Init
Returns the built description instance (builder pattern).- Overrides:
build
in classDescriptionBase.Init<T extends ElementDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
type
Initializes the GUI component type.- Parameters:
type
- the GUI component type.- Returns:
- the description instance with the update state (builder pattern).
-
id
Initializes the element's unique identifier in text format.- Parameters:
id
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
id
Initializes the element's unique identifier in text format.- Parameters:
id
- the element's unique identifier in text format.- Returns:
- the description instance with the update state (builder pattern).
-
name
Initializes the name of the element.- Parameters:
name
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
name
Initializes the name of the element.- Parameters:
name
- the name of the element.- Returns:
- the description instance with the update state (builder pattern).
-
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).
-