Package com.hp.lft.sdk.powerbuilder
Class UiObjectBaseDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.powerbuilder.UiObjectBaseDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
- Direct Known Subclasses:
ScrollBarDescription,UiObjectWithLayoutInfoDescription
The description of a PowerBuilder UiObjectBase abstract type.
-
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
ConstructorsModifierConstructorDescriptionInitializes a new instance of the UiObjectBaseDescription class.protectedInitializes a new instance of the UiObjectBaseDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object's absolute coordinates relative to the screen (in pixels).Returns the static text that is attached to this control.Returns the object's coordinates relative to the parent window (in pixels).Returns the object's window class name.Returns the object's name as set by the developer.getSize()Returns the test object's size (in pixels).getText()Returns the text associated with the object.Returns the permanent part of the MFC window class.Returns the extended window style of the object as long.Returns the object's window identifier.Returns the window style of the object as long.Returns the constant part of the window title.Indicates whether this object is enabled.Indicates whether this object is in focus.Indicates whether this object is visible.voidsetAbsoluteLocation(LocationProperty absLocation) Sets the object's absolute coordinates relative to the screen (in pixels).voidsetAbsoluteLocation(Point absLocation) Sets the object's absolute coordinates relative to the screen (in pixels).voidsetAbsoluteLocation(Integer absX, Integer absY) Sets the object's absolute coordinates relative to the screen (in pixels).voidsetAttachedText(StringProperty attachedText) Sets the static text that is attached to this object.voidsetAttachedText(String attachedText) Sets the static text that is attached to this object.voidsetEnabled(Boolean isEnabled) Sets whether this object is enabled.voidsetFocused(Boolean isFocused) Sets whether this object is in focus.voidsetLocation(LocationProperty location) Sets the object's coordinates relative to the parent window (in pixels).voidsetLocation(Point location) Sets the object's coordinates relative to the parent window (in pixels).voidsetLocation(Integer x, Integer y) Sets the object's coordinates relative to the parent window (in pixels).voidsetNativeClass(StringProperty nativeClass) Sets the object's window class name.voidsetNativeClass(String nativeClass) Sets the object's window class name.voidsetObjectName(StringProperty objectName) Sets the object's name as set by the developer.voidsetObjectName(String objectName) Sets the object's name as set by the developer.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).voidsetText(StringProperty text) Sets the text associated with the object.voidSets the text associated with the object.voidsetVisible(Boolean isVisible) Sets the visibility state of the test object.voidsetWindowClassRegExp(StringProperty windowClassRegExp) Sets the permanent part of the MFC window class.voidsetWindowClassRegExp(String windowClassRegExp) Sets the permanent part of the MFC window class.voidsetWindowExtendedStyle(Long windowExtendedStyle) Sets the extended window style of the object as long.voidsetWindowId(Integer windowId) Sets the object's window identifier.voidsetWindowStyle(Long windowStyles) Sets window style of the object as long.voidsetWindowTitleRegExp(StringProperty windowTitleRegExp) Sets the constant part of the window title.voidsetWindowTitleRegExp(String windowTitleRegExp) Sets the constant part of the window title.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()Initializes a new instance of the UiObjectBaseDescription class. -
UiObjectBaseDescription
Initializes a new instance of the UiObjectBaseDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setNativeClass
Sets the object's window class name.- Parameters:
nativeClass- the object's window class name.
-
setNativeClass
Sets the object's window class name.- Parameters:
nativeClass- a StringProperty (or RegExpProperty) representing the object's window class name.
-
getNativeClass
Returns the object's window class name.- Returns:
- the object's window class name.
-
setWindowId
Sets the object's window identifier.- Parameters:
windowId- then window ID for this object.
-
getWindowId
Returns the object's window identifier.- Returns:
- the object's window identifier.
-
setObjectName
Sets the object's name as set by the developer.- Parameters:
objectName- Sets the object's name as set by the developer.
-
setObjectName
Sets the object's name as set by the developer.- Parameters:
objectName- the object's name as a StringProperty (or RegExProperty).
-
getObjectName
Returns the object's name as set by the developer.- Returns:
- the object's name as set by the developer.
-
setAttachedText
Sets the static text that is attached to this object.- Parameters:
attachedText- the static text that is attached to this object.
-
setAttachedText
Sets the static text that is attached to this object.- Parameters:
attachedText- a StringProperty (or RegExpProperty) with the static text attached to this object.
-
getAttachedText
Returns the static text that is attached to this control.- Returns:
- the static text that is attached to this control.
-
setEnabled
Sets whether this object is enabled.- Parameters:
isEnabled- sets whether this object is enabled.
-
isEnabled
Indicates whether this object is enabled.- Returns:
- true when enabled.
-
setFocused
Sets whether this object is in focus.- Parameters:
isFocused- sets whether this object has focus.
-
isFocused
Indicates whether this object is in focus.- Returns:
- true when this object is in focus.
-
setWindowClassRegExp
Sets the permanent part of the MFC window class.- Parameters:
windowClassRegExp- a StringProperty (or RegExpProperty) representing the permanent part of the MFC window class.
-
setWindowClassRegExp
Sets the permanent part of the MFC window class.- Parameters:
windowClassRegExp- the permanent part of the MFC window class.
-
getWindowClassRegExp
Returns the permanent part of the MFC window class.- Returns:
- the permanent part of the MFC window class.
-
setWindowTitleRegExp
Sets the constant part of the window title.- Parameters:
windowTitleRegExp- a StringProperty (or RegExpProperty) representing the constant part of the window title.
-
setWindowTitleRegExp
Sets the constant part of the window title.- Parameters:
windowTitleRegExp- constant part of the window title.
-
getWindowTitleRegExp
Returns the constant part of the window title.- Returns:
- the constant part of the window title.
-
setVisible
Sets the visibility state of the test object.- Parameters:
isVisible- the visibility state of the test object.
-
isVisible
Indicates whether this object is visible.- Returns:
- true when visible.
-
setText
Sets the text associated with the object.- Parameters:
text- the text associated with the object.
-
setText
Sets the text associated with the object.- Parameters:
text- a StringProperty (or RegExpProperty) representing the text associated with the object.
-
getText
Returns the text associated with the object.- Returns:
- the text associated with the object.
-
getWindowExtendedStyle
Returns the extended window style of the object as long.- Returns:
- the extended window style of the object as long.
-
setWindowExtendedStyle
Sets the extended window style of the object as long.- Parameters:
windowExtendedStyle- the extended window style of the object as long.
-
getWindowStyle
Returns the window style of the object as long.- Returns:
- the window style of the object as long.
-
setWindowStyle
Sets window style of the object as long.- Parameters:
windowStyles- window style of the object as long.
-
setLocation
Sets the object's coordinates relative to the parent window (in pixels).- Parameters:
location- a LocationProperty representing the object's coordinates relative to the parent window (in pixels).
-
setLocation
Sets the object's coordinates relative to the parent window (in pixels).- Parameters:
x- the X coordinate of the test object location.y- the Y coordinate of the test object location.
-
setLocation
Sets the object's coordinates relative to the parent window (in pixels).- Parameters:
location- a Point representing the object's coordinates relative to the parent window (in pixels).
-
getLocation
Returns the object's coordinates relative to the parent window (in pixels).- Returns:
- the object's coordinates relative to the parent window (in pixels).
-
setAbsoluteLocation
Sets the object's absolute coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor.- Parameters:
absLocation- a LocationProperty representing the object's absolute coordinates relative to the screen (in pixels).
-
setAbsoluteLocation
Sets the object's absolute coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor.- Parameters:
absX- the absolute X coordinate of the test object location.absY- the absolute Y coordinate of the test object location.
-
setAbsoluteLocation
Sets the object's absolute coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor.- Parameters:
absLocation- a Point representing the object's absolute coordinates relative to the screen (in pixels).
-
getAbsoluteLocation
Returns the object's absolute coordinates relative to the screen (in pixels).- Returns:
- the object's absolute coordinates relative to the screen (in pixels).
-
setSize
Sets the test object's size (in pixels).- Parameters:
size- the test object's size (in pixels).
-
setSize
Sets the test object's size (in pixels).- Parameters:
size- the test object's size (in pixels).
-
setSize
Sets the test object's size (in pixels).- Parameters:
width- the width of the test object (in pixels).height- the height of the test object (in pixels).
-
getSize
Returns the test object's size (in pixels).- Returns:
- the test object's size (in pixels).
-