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 classHelper 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.protectedInitializes 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.voidsetAbsoluteLocation(LocationProperty absLocation) Sets the object's coordinates in pixels relative to the screen.voidsetAbsoluteLocation(Point absLocation) Sets the object's coordinates in pixels relative to the screen.voidsetAbsoluteLocation(Integer absX, Integer absY) Sets the object's coordinates in pixels relative to the screen.voidsetLocation(LocationProperty location) Sets the object's coordinates in pixels relative to the parent window.voidsetLocation(Point location) Sets the object's coordinates in pixels relative to the parent window.voidsetLocation(Integer x, Integer y) Sets the object's coordinates in pixels relative to the parent window.voidsetObjectType(StringProperty objectType) Sets general object type.voidsetObjectType(String objectType) Sets the general object type.voidsetSize(SizeProperty size) Sets the test object's size in pixels.voidSets the test object's size in pixels.voidSets 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, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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- aStringPropertyorRegExpProperty.
-
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.
-