Package com.hp.lft.sdk.sap.nwbc
Class UiObjectDescriptionBase
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.sap.nwbc.UiObjectDescriptionBase
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
- Direct Known Subclasses:
OKCodeDescription,ShellWindowDescription,TabStripDescription,ToggleButtonDescription
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the SapNwbcDescriptionBase class using the builder pattern.protected static class -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the SapNwbcDescriptionBase class.protectedInitializes a new instance of the SapNwbcDescriptionBase class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object's coordinates relative to the screen in pixels.Returns the full hierarchy of the object's name with all parent objects.Returns the full type name of this object.Returns the object's coordinates relative to the parent window in pixels.getName()Returns the name of the object.Returns object's name as set by the developer.getSize()Returns the object's size in pixels.getText()Returns the text associated with the object.Returns the constant part of the window title.Returns whether the object is enabled.Returns whether the object is focused.Returns whether the object is visible.voidsetAbsoluteLocation(LocationProperty absLocation) Sets the object's coordinates relative to the screen, in pixels.voidsetAbsoluteLocation(Point absLocation) Sets the object's coordinates relative to the screen, in pixels.voidsetAbsoluteLocation(Integer absX, Integer absY) Sets the object's coordinates relative to the screen, in pixels.voidsetEnabled(Boolean isEnabled) Sets whether the object is enabled.voidsetFocused(Boolean isFocused) Sets whether the object is focused.voidsetFullNamePath(StringProperty fullNamePath) Sets the full hierarchy of the object's name with all parent objects.voidsetFullNamePath(String fullNamePath) Sets the full hierarchy of the object's name with all parent objects.voidsetFullType(StringProperty fullType) Sets the full type name of this object.voidsetFullType(String fullType) Sets the full type name of this object.voidsetLocation(LocationProperty location) Sets the object's coordinates relative to the parent window.voidsetLocation(Point location) Sets the object's coordinates relative to the parent window.voidsetLocation(Integer x, Integer y) Sets the object's coordinates relative to the parent window.voidsetName(StringProperty name) Sets the name of the object.voidSets the name of the object.voidsetObjectName(StringProperty objectName) Sets object's name as set by the developer.voidsetObjectName(String objectName) Sets object's name as set by the developer.voidsetSize(SizeProperty size) Sets the object's size in pixels.voidSets the object's size in pixels.voidSets the 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 whether the object is visible.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
-
UiObjectDescriptionBase
public UiObjectDescriptionBase()Initializes a new instance of the SapNwbcDescriptionBase class. -
UiObjectDescriptionBase
Initializes a new instance of the SapNwbcDescriptionBase class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setObjectName
Sets object's name as set by the developer.- Parameters:
objectName- The object's name as set by the developer as aStringPropertyorRegExpProperty.
-
setObjectName
Sets object's name as set by the developer.- Parameters:
objectName- The object's name as set by the developer as a String.
-
getObjectName
Returns object's name as set by the developer.- Returns:
- The object's name as set by the developer as a
StringProperty.
-
setFullNamePath
Sets the full hierarchy of the object's name with all parent objects.- Parameters:
fullNamePath- The full hierarchy of the object's name with all parent objects as aStringPropertyorRegExpProperty.
-
setFullNamePath
Sets the full hierarchy of the object's name with all parent objects.- Parameters:
fullNamePath- The full hierarchy of the object's name with all parent objects as a String.
-
getFullNamePath
Returns the full hierarchy of the object's name with all parent objects.- Returns:
- The full hierarchy of the object's name with all parent objects as a
StringProperty.
-
setFullType
Sets the full type name of this object.- Parameters:
fullType- The full type name of this object as aStringPropertyorRegExpProperty.
-
setFullType
Sets the full type name of this object.- Parameters:
fullType- The full type name of this object as a String.
-
getFullType
Returns the full type name of this object.- Returns:
- The full type name of this object as a
StringProperty.
-
setEnabled
Sets whether the object is enabled.- Parameters:
isEnabled- true if the object is enabled, false otherwise.
-
IsEnabled
Returns whether the object is enabled.- Returns:
- true if the object is enabled, false otherwise.
-
setFocused
Sets whether the object is focused.- Parameters:
isFocused- true if the object is focused, false otherwise.
-
IsFocused
Returns whether the object is focused.- Returns:
- true if the object is focused, false otherwise.
-
setWindowTitleRegExp
Sets the constant part of the window title.- Parameters:
windowTitleRegExp- the constant part of the window title as aStringPropertyorRegExpProperty.
-
setWindowTitleRegExp
Sets the constant part of the window title.- Parameters:
windowTitleRegExp- the constant part of the window title as a String.
-
getWindowTitleRegExp
Returns the constant part of the window title.- Returns:
- the constant part of the window title as a
StringProperty.
-
setVisible
Sets whether the object is visible.- Parameters:
isVisible- true if the object is visible, false otherwise.
-
IsVisible
Returns whether the object is visible.- Returns:
- true if the object is visible, false otherwise.
-
setText
Sets the text associated with the object.- Parameters:
text- the text associated with the object as aStringPropertyorRegExpProperty.
-
setText
Sets the text associated with the object.- Parameters:
text- the text associated with the object as a String.
-
getText
Returns the text associated with the object.- Returns:
- the text associated with the object as a
StringProperty.
-
setName
Sets the name of the object.- Parameters:
name- aStringPropertyorRegExpProperty.
-
setName
Sets the name of the object.- Parameters:
name- the name of the object.
-
getName
Returns the name of the object.- Returns:
- the name of the object.
-
setLocation
Sets the object's coordinates relative to the parent window.- Parameters:
location- the coordinates in pixels.
-
setLocation
Sets the object's coordinates relative to the parent window.- Parameters:
x- in pixels.y- in pixels.
-
setLocation
Sets the object's coordinates relative to the parent window.- Parameters:
location- the coordinates in pixels.
-
getLocation
Returns the object's coordinates relative to the parent window in pixels.- Returns:
- the coordinates.
-
setAbsoluteLocation
Sets the object's coordinates relative to the screen, in pixels. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation- the object's absolute coordinates.
-
setAbsoluteLocation
Sets the object's coordinates relative to the screen, in pixels. 0,0 is the top-left corner of the primary monitor.- Parameters:
absX- the absolute X.absY- the absolute Y.
-
setAbsoluteLocation
Sets the object's coordinates relative to the screen, in pixels. 0,0 is the top-left corner of the primary monitor.- Parameters:
absLocation- the object's absolute coordinates.
-
getAbsoluteLocation
Returns the object's coordinates relative to the screen in pixels. 0,0 is the top-left corner of the primary monitor.- Returns:
- the object's absolute coordinates.
-
setSize
Sets the object's size in pixels.- Parameters:
size- the size.
-
setSize
Sets the object's size in pixels.- Parameters:
size- the size.
-
setSize
Sets the object's size in pixels.- Parameters:
width- the width.height- the height.
-
getSize
Returns the object's size in pixels.- Returns:
- the size.
-