Class WindowDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class WindowDescription extends UiObjectDescriptionBase
The description of a WPF Window test object.
  • Constructor Details

    • WindowDescription

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

      protected WindowDescription(WindowDescription.Init<?> init)
  • Method Details

    • setModal

      public void setModal(Boolean isModal)
      Set whether the window is the modal object.
      Parameters:
      isModal - whether the window is modal.
    • isModal

      public Boolean isModal()
      Indicates whether the window is modal.
      Returns:
      true, if the window is modal.
    • setParentText

      public void setParentText(String parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - the text to associate with the parent object
    • setParentText

      public void setParentText(StringProperty parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - a StringProperty or RegExpProperty
    • getParentText

      public StringProperty getParentText()
      Return the text associated with the parent object of the object.
      Returns:
      parentText the text associated with the parent