Package com.hp.lft.sdk.stdwin
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.stdwin.UiObjectBaseDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- ScrollBarDescription,- SpinBoxDescription,- StatusBarDescription,- UiObjectWithLayoutInfoDescription
The description of a standard Windows UiObjectBase abstract type.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classHelper class for derived Builder classes.Nested classes/interfaces inherited from class com.hp.lft.sdk.DescriptionBaseDescriptionBase.Builder
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the UiObjectBaseDescription class.protectedInitializes a new instance of the UiObjectBaseDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the object's absolute coordinates relative to the screen (in pixels).Returns the object's name.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.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.Returns the extended window style of the object as long.Returns the object's window identifier.Returns the window style of the object.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).voidsetAccessibleName(StringProperty accessibleName) Sets the object's name.voidsetAccessibleName(String accessibleName) Sets the object's name.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.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.voidsetWindowExtendedStyle(EnumSet<WindowExtendedStyles> windowExtendedStyle) Sets the extended window style of the object.voidsetWindowId(Integer windowId) Sets the object's window identifier.voidsetWindowStyle(Long windowStyles) Sets window style of the object as long.voidsetWindowStyle(EnumSet<WindowStyles> windowStyles) Sets window style of the object.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.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
UiObjectBaseDescriptionpublic UiObjectBaseDescription()Initializes a new instance of the UiObjectBaseDescription class.
- 
UiObjectBaseDescriptionInitializes a new instance of the UiObjectBaseDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setNativeClassSets the object's window class name.- Parameters:
- nativeClass- the object's window class name.
 
- 
setNativeClassSets the object's window class name.- Parameters:
- nativeClass- a StringProperty (or RegExpProperty) representing the object's window class name.
 
- 
getNativeClassReturns the object's window class name.- Returns:
- the object's window class name.
 
- 
setWindowIdSets the object's window identifier.- Parameters:
- windowId- then window ID for this object.
 
- 
getWindowIdReturns the object's window identifier.- Returns:
- the object's window identifier.
 
- 
setAccessibleNameSets the object's name. The name is available for windowless objects only.- Parameters:
- accessibleName- the object's name. The name is available for windowless objects only.
 
- 
setAccessibleNameSets the object's name. The name is available for windowless objects only.- Parameters:
- accessibleName- the object's name as a StringProperty (or RegExProperty). The name is available for windowless objects only.
 
- 
getAccessibleNameReturns the object's name. The name is available for windowless objects only.- Returns:
- the object's name. The name is available for windowless objects only.
 
- 
setAttachedTextSets the static text that is attached to this object.- Parameters:
- attachedText- the static text that is attached to this object.
 
- 
setAttachedTextSets the static text that is attached to this object.- Parameters:
- attachedText- a StringProperty (or RegExpProperty) with the static text attached to this object.
 
- 
getAttachedTextReturns the static text that is attached to this control.- Returns:
- the static text that is attached to this control.
 
- 
setEnabledSets whether this object is enabled.- Parameters:
- isEnabled- sets whether this object is enabled.
 
- 
isEnabledIndicates whether this object is enabled.- Returns:
- true when enabled.
 
- 
setFocusedSets whether this object is in focus.- Parameters:
- isFocused- sets whether this object has focus.
 
- 
isFocusedIndicates whether this object is in focus.- Returns:
- true when this object is in focus.
 
- 
setWindowClassRegExpSets the permanent part of the MFC window class.- Parameters:
- windowClassRegExp- a StringProperty (or RegExpProperty) representing the permanent part of the MFC window class.
 
- 
setWindowClassRegExpSets the permanent part of the MFC window class.- Parameters:
- windowClassRegExp- the permanent part of the MFC window class.
 
- 
getWindowClassRegExpReturns the permanent part of the MFC window class.- Returns:
- the permanent part of the MFC window class.
 
- 
setWindowTitleRegExpSets the constant part of the window title.- Parameters:
- windowTitleRegExp- a StringProperty (or RegExpProperty) representing the constant part of the window title.
 
- 
setWindowTitleRegExpSets the constant part of the window title.- Parameters:
- windowTitleRegExp- constant part of the window title.
 
- 
getWindowTitleRegExpReturns the constant part of the window title.- Returns:
- the constant part of the window title.
 
- 
setVisibleSets the visibility state of the test object.- Parameters:
- isVisible- the visibility state of the test object.
 
- 
isVisibleIndicates whether this object is visible.- Returns:
- true when visible.
 
- 
setTextSets the text associated with the object.- Parameters:
- text- the text associated with the object.
 
- 
setTextSets the text associated with the object.- Parameters:
- text- a StringProperty (or RegExpProperty) representing the text associated with the object.
 
- 
getTextReturns the text associated with the object.- Returns:
- the text associated with the object.
 
- 
getWindowExtendedStyleReturns the extended window style of the object.- Returns:
- the extended window style of the object.
 
- 
setWindowExtendedStyleSets the extended window style of the object.- Parameters:
- windowExtendedStyle- the extended window style of the object.
 
- 
getWindowExtendedStyleAsLongReturns the extended window style of the object as long.- Returns:
- the extended window style of the object as long.
 
- 
setWindowExtendedStyleSets the extended window style of the object as long.- Parameters:
- windowExtendedStyle- the extended window style of the object as long.
 
- 
getWindowStyleReturns the window style of the object.- Returns:
- the window style of the object.
 
- 
setWindowStyleSets window style of the object.- Parameters:
- windowStyles- window style of the object.
 
- 
getWindowStyleAsLongReturns the window style of the object as long.- Returns:
- the window style of the object as long.
 
- 
setWindowStyleSets window style of the object as long.- Parameters:
- windowStyles- window style of the object as long.
 
- 
setLocationSets 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).
 
- 
setLocationSets 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.
 
- 
setLocationSets 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).
 
- 
getLocationReturns the object's coordinates relative to the parent window (in pixels).- Returns:
- the object's coordinates relative to the parent window (in pixels).
 
- 
setAbsoluteLocationSets 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).
 
- 
setAbsoluteLocationSets 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.
 
- 
setAbsoluteLocationSets 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).
 
- 
getAbsoluteLocationReturns the object's absolute coordinates relative to the screen (in pixels).- Returns:
- the object's absolute coordinates relative to the screen (in pixels).
 
- 
setSizeSets the test object's size (in pixels).- Parameters:
- size- the test object's size (in pixels).
 
- 
setSizeSets the test object's size (in pixels).- Parameters:
- size- the test object's size (in pixels).
 
- 
setSizeSets 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).
 
- 
getSizeReturns the test object's size (in pixels).- Returns:
- the test object's size (in pixels).
 
 
-