Class EditorDescription

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

public class EditorDescription extends UiObjectBaseDescription
The description of a Java Editor test object.
  • Constructor Details

    • EditorDescription

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

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

    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Sets whether the object is read only.
      Parameters:
      readOnly - true if read only.
    • isReadOnly

      public Boolean isReadOnly()
      Indicates whether the object is read only.
      Returns:
      true if read only.
    • setText

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

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

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