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 ElementDescription
Description of a SAP GUI for Windows editable text area 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

    • setText

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

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

      public StringProperty getText()
      Returns the text of the editor.
      Returns:
      a StringProperty representing the text value of the editor.
    • setEnabled

      public void setEnabled(Boolean isEnabled)
      Sets whether the editor can accept user input.
      Parameters:
      isEnabled - true to set as enabled.
    • isEnabled

      public Boolean isEnabled()
      Indicates whether the editor can accept user input.
      Returns:
      true if enabled.