Class UiObjectBaseDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
- Direct Known Subclasses:
ApplicationSessionDescription
,ButtonDescription
,CalendarDescription
,CheckBoxDescription
,EditFieldDescription
,FlexFieldWindowDescription
,ListDescription
,ListOfValuesDescription
,LogonWindowDescription
,NavigatorWindowDescription
,NotificationDescription
,PickListDescription
,RadioGroupDescription
,StatusBarDescription
,TabDescription
,TableDescription
,TreeViewDescription
,UiFormBaseDescription
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Helper class for derived Builder classes.Nested classes/interfaces inherited from class com.hp.lft.sdk.DescriptionBase
DescriptionBase.Builder
-
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new instance of UiObjectDescriptionBase.protected
Initializes a new instance of the UiObjectBaseDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object's coordinates in pixels relative to the screen.Returns the object's coordinates in pixels relative to the parent window.Returns the general object type.getSize()
Returns the test object's size in pixels.void
setAbsoluteLocation
(LocationProperty absLocation) Sets the object's coordinates in pixels relative to the screen.void
setAbsoluteLocation
(Point absLocation) Sets the object's coordinates in pixels relative to the screen.void
setAbsoluteLocation
(Integer absX, Integer absY) Sets the object's coordinates in pixels relative to the screen.void
setLocation
(LocationProperty location) Sets the object's coordinates in pixels relative to the parent window.void
setLocation
(Point location) Sets the object's coordinates in pixels relative to the parent window.void
setLocation
(Integer x, Integer y) Sets the object's coordinates in pixels relative to the parent window.void
setObjectType
(StringProperty objectType) Sets general object type.void
setObjectType
(String objectType) Sets the general object type.void
setSize
(SizeProperty size) Sets the test object's size in pixels.void
Sets the test object's size in pixels.void
Sets the test object's size in pixels.Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
UiObjectBaseDescription
public UiObjectBaseDescription()Constructs a new instance of UiObjectDescriptionBase. -
UiObjectBaseDescription
Initializes a new instance of the UiObjectBaseDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setObjectType
Sets the general object type.- Parameters:
objectType
- the general object type.
-
setObjectType
Sets general object type.- Parameters:
objectType
- aStringProperty
orRegExpProperty
.
-
getObjectType
Returns the general object type.- Returns:
- the general object type.
-
setLocation
Sets the object's coordinates in pixels relative to the parent window.- Parameters:
location
- the coordinates relative to the parent window.
-
setLocation
Sets the object's coordinates in pixels relative to the parent window.- Parameters:
x
- in pixels.y
- in pixels.
-
setLocation
Sets the object's coordinates in pixels relative to the parent window.- Parameters:
location
- the coordinates relative to the parent window.
-
getLocation
Returns the object's coordinates in pixels relative to the parent window.- Returns:
- the coordinates relative to the parent window.
-
setAbsoluteLocation
Sets 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:
absLocation
- the coordinates relative to the screen.
-
setAbsoluteLocation
Sets 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.
-
setAbsoluteLocation
Sets the object's coordinates in pixels relative to the screen. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation
- the coordinates relative to the screen.
-
getAbsoluteLocation
Returns the object's coordinates in pixels relative to the screen.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.
- Returns:
- the coordinates relative to the screen.
-
setSize
Sets the test object's size in pixels.- Parameters:
size
- the size.
-
setSize
Sets the test object's size in pixels.- Parameters:
size
- the size.
-
setSize
Sets the test object's size in pixels.- Parameters:
width
- in pixels.height
- in pixels.
-
getSize
Returns the test object's size in pixels.- Returns:
- the size.
-