com.hp.lft.sdk.sap.gui

Class EditFieldDescription

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


    public class EditFieldDescription
    extends ElementDescription
    Description of a SAP GUI for Windows edit box.
    • Constructor Detail

      • EditFieldDescription

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

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

      • setAttachedText

        public void setAttachedText(java.lang.String attachedText)
        Sets the static text attached to the edit field.
        Parameters:
        attachedText - the static text.
      • getAttachedText

        public StringProperty getAttachedText()
        Returns the static text attached to the edit field.
        Returns:
        the static text.
      • setEnabled

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

        public java.lang.Boolean isEnabled()
        Indicates whether the object can accept user input.
        Returns:
        true if enabled.
      • setHighlighted

        public void setHighlighted(java.lang.Boolean isHighlighted)
        Sets whether whether the edit box is highlighted.
        Parameters:
        isHighlighted - true to set as highlighted.
      • isHighlighted

        public java.lang.Boolean isHighlighted()
        Indicates whether whether the edit box is highlighted.
        Returns:
        true if highlighted.
      • setIconName

        public void setIconName(java.lang.String iconName)
        Sets the name of the icon used in the edit box.
        Parameters:
        iconName - the name of the icon.
      • getIconName

        public StringProperty getIconName()
        Returns the name of the icon used in the edit box.
        Returns:
        the name of the icon.
      • setMaxLength

        public void setMaxLength(java.lang.Integer maxLength)
        Sets the maximum number of characters that can be entered in the edit box.
        Parameters:
        maxLength - the maximum number of characters.
      • getMaxLength

        public java.lang.Integer getMaxLength()
        Returns the maximum number of characters that can be entered in the edit box.
        Returns:
        the maximum number of characters.
      • setNumerical

        public void setNumerical(java.lang.Boolean isNumerical)
        Sets whether whether the edit box is a numerical field.
        Parameters:
        isNumerical - true to set as numerical field
      • isNumerical

        public java.lang.Boolean isNumerical()
        Returns the whether the edit box is a numerical field.
        Returns:
        true if numerical field
      • setRequired

        public void setRequired(java.lang.Boolean isRequired)
        Sets the whether the edit box is required.
        Parameters:
        isRequired - true to set as required.
      • isRequired

        public java.lang.Boolean isRequired()
        Returns the whether the edit box is required.
        Returns:
        true if required.
      • setText

        public void setText(java.lang.String text)
        Sets the text string value of the object.
        Parameters:
        text - the text.
      • getText

        public StringProperty getText()
        Returns the text string value of the object.
        Returns:
        a StringProperty representing the text string value of the object.