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

public class UiObjectDescriptionBase extends DescriptionBase
  • Constructor Details

    • UiObjectDescriptionBase

      public UiObjectDescriptionBase()
      Initializes a new instance of the SapNwbcDescriptionBase class.
    • UiObjectDescriptionBase

      protected UiObjectDescriptionBase(UiObjectDescriptionBase.Init<?> init)
      Initializes a new instance of the SapNwbcDescriptionBase class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setObjectName

      public void setObjectName(StringProperty objectName)
      Sets object's name as set by the developer.
      Parameters:
      objectName - The object's name as set by the developer as a StringProperty or RegExpProperty.
    • setObjectName

      public void setObjectName(String objectName)
      Sets object's name as set by the developer.
      Parameters:
      objectName - The object's name as set by the developer as a String.
    • getObjectName

      public StringProperty getObjectName()
      Returns object's name as set by the developer.
      Returns:
      The object's name as set by the developer as a StringProperty.
    • setFullNamePath

      public void setFullNamePath(StringProperty fullNamePath)
      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 StringProperty or RegExpProperty.
    • setFullNamePath

      public void setFullNamePath(String fullNamePath)
      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

      public StringProperty 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

      public void setFullType(StringProperty fullType)
      Sets the full type name of this object.
      Parameters:
      fullType - The full type name of this object as a StringProperty or RegExpProperty.
    • setFullType

      public void setFullType(String fullType)
      Sets the full type name of this object.
      Parameters:
      fullType - The full type name of this object as a String.
    • getFullType

      public StringProperty getFullType()
      Returns the full type name of this object.
      Returns:
      The full type name of this object as a StringProperty.
    • setEnabled

      public void setEnabled(Boolean isEnabled)
      Sets whether the object is enabled.
      Parameters:
      isEnabled - true if the object is enabled, false otherwise.
    • IsEnabled

      public Boolean IsEnabled()
      Returns whether the object is enabled.
      Returns:
      true if the object is enabled, false otherwise.
    • setFocused

      public void setFocused(Boolean isFocused)
      Sets whether the object is focused.
      Parameters:
      isFocused - true if the object is focused, false otherwise.
    • IsFocused

      public Boolean IsFocused()
      Returns whether the object is focused.
      Returns:
      true if the object is focused, false otherwise.
    • setWindowTitleRegExp

      public void setWindowTitleRegExp(StringProperty windowTitleRegExp)
      Sets the constant part of the window title.
      Parameters:
      windowTitleRegExp - the constant part of the window title as a StringProperty or RegExpProperty.
    • setWindowTitleRegExp

      public void setWindowTitleRegExp(String windowTitleRegExp)
      Sets the constant part of the window title.
      Parameters:
      windowTitleRegExp - the constant part of the window title as a String.
    • getWindowTitleRegExp

      public StringProperty getWindowTitleRegExp()
      Returns the constant part of the window title.
      Returns:
      the constant part of the window title as a StringProperty.
    • setVisible

      public void setVisible(Boolean isVisible)
      Sets whether the object is visible.
      Parameters:
      isVisible - true if the object is visible, false otherwise.
    • IsVisible

      public Boolean IsVisible()
      Returns whether the object is visible.
      Returns:
      true if the object is visible, false otherwise.
    • setText

      public void setText(StringProperty text)
      Sets the text associated with the object.
      Parameters:
      text - the text associated with the object as a StringProperty or RegExpProperty.
    • setText

      public void setText(String text)
      Sets the text associated with the object.
      Parameters:
      text - the text associated with the object as a String.
    • getText

      public StringProperty getText()
      Returns the text associated with the object.
      Returns:
      the text associated with the object as a StringProperty.
    • setName

      public void setName(StringProperty name)
      Sets the name of the object.
      Parameters:
      name - a StringProperty or RegExpProperty.
    • setName

      public void setName(String name)
      Sets the name of the object.
      Parameters:
      name - the name of the object.
    • getName

      public StringProperty getName()
      Returns the name of the object.
      Returns:
      the name of the object.
    • setLocation

      public void setLocation(LocationProperty location)
      Sets the object's coordinates relative to the parent window.
      Parameters:
      location - the coordinates in pixels.
    • setLocation

      public void setLocation(Integer x, Integer y)
      Sets the object's coordinates relative to the parent window.
      Parameters:
      x - in pixels.
      y - in pixels.
    • setLocation

      public void setLocation(Point location)
      Sets the object's coordinates relative to the parent window.
      Parameters:
      location - the coordinates in pixels.
    • getLocation

      public LocationProperty getLocation()
      Returns the object's coordinates relative to the parent window in pixels.
      Returns:
      the coordinates.
    • setAbsoluteLocation

      public void setAbsoluteLocation(LocationProperty absLocation)
      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

      public void setAbsoluteLocation(Integer absX, Integer absY)
      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

      public void setAbsoluteLocation(Point absLocation)
      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

      public LocationProperty 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

      public void setSize(SizeProperty size)
      Sets the object's size in pixels.
      Parameters:
      size - the size.
    • setSize

      public void setSize(Dimension size)
      Sets the object's size in pixels.
      Parameters:
      size - the size.
    • setSize

      public void setSize(Integer width, Integer height)
      Sets the object's size in pixels.
      Parameters:
      width - the width.
      height - the height.
    • getSize

      public SizeProperty getSize()
      Returns the object's size in pixels.
      Returns:
      the size.