Class LabelDescription

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

public class LabelDescription extends UiObjectBaseDescription
The description of a Java Label test object.
  • Constructor Details

    • LabelDescription

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

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

    • setText

      public void setText(String text)
      Sets the object's text.
      Parameters:
      text - the text.
    • setText

      public void setText(StringProperty text)
      Sets the object's text.
      Parameters:
      text - a StringProperty or RegExpProperty.
    • getText

      public StringProperty getText()
      Returns the object's text.
      Returns:
      the object's text.