Class EditFieldDescription

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

public class EditFieldDescription extends UiObjectDescriptionBase
The description of a WPF EditField test object.
  • Constructor Details

    • EditFieldDescription

      public EditFieldDescription()
      Constructs a new instance of EditFieldDescription.
    • EditFieldDescription

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

    • setReadOnly

      public void setReadOnly(Boolean isReadOnly)
      Sets whether the text editing object is read-only to a user interacting with the object.
      Parameters:
      isReadOnly - whether the text editing object is read-only to a user interacting with the object.
    • isReadOnly

      public Boolean isReadOnly()
      Indicates whether the text editing object is read-only to a user interacting with the object.
      Returns:
      true, if the text editing object is read-only to a user interacting with the object.
    • 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()
      Returns the text associated with the parent object of this object.
      Returns:
      parentText the text associated with the parent
    • setName

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

      public void setName(StringProperty name)
      Sets the name of the object.
      Parameters:
      name - a StringProperty(or RegExpProperty) representing the text associated with the name of the object.
    • getName

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