com.hp.lft.sdk.web

Class EditFieldBaseDescription

    • Constructor Detail

      • EditFieldBaseDescription

        protected EditFieldBaseDescription()
    • Method Detail

      • setValue

        public void setValue(StringProperty value)
        Sets the text in the field.
        Parameters:
        value - a StringProperty (or RegExpProperty) representing the text in the field.
      • setValue

        public void setValue(java.lang.String value)
        Sets the text in the field.
        Parameters:
        value - the text in the field.
      • getValue

        public StringProperty getValue()
        Returns the current text in the field.
        Returns:
        the current text in the field.
      • setPlaceholder

        public void setPlaceholder(StringProperty placeholder)
        Sets the hint text that is displayed in the edit box until a value is entered into it.
        Parameters:
        placeholder - a StringProperty (or RegExpProperty) representing the hint text that is displayed in the edit box until a value is entered into it.
      • setPlaceholder

        public void setPlaceholder(java.lang.String placeholder)
        Sets the hint text that is displayed in the edit box until a value is entered into it.
        Parameters:
        placeholder - the hint text that is displayed in the edit box until a value is entered into it.
      • getPlaceholder

        public StringProperty getPlaceholder()
        Returns the hint text that is displayed in the edit box until a value is entered into it.
        Returns:
        the hint text that is displayed in the edit box until a value is entered into it.
      • setReadOnly

        public void setReadOnly(java.lang.Boolean readOnly)
        Sets whether or not the control is read only.
        Parameters:
        readOnly - whether or not the control is read only.
      • isReadOnly

        public java.lang.Boolean isReadOnly()
        Returns true if the object is read-only.
        Returns:
        true if read-only.
      • setRequired

        public void setRequired(java.lang.Boolean required)
        Sets whether or not the field is mandatory in the form.
        Parameters:
        required - whether or not the field is mandatory in the form.
      • isRequired

        public java.lang.Boolean isRequired()
        Returns true if the field is mandatory.
        Returns:
        True if the field is mandatory.
      • setEnabled

         
        public void setEnabled(java.lang.Boolean isEnabled)
        Sets whether the check box is enabled.
        Parameters:
        isEnabled - true if enabled.
      • isEnabled

         
        public java.lang.Boolean isEnabled()
        Indicates whether the check box is enabled.
        Returns:
        true if enabled.
      • setMaxCharsInLine

        public void setMaxCharsInLine(java.lang.Integer maxCharsInLine)
        Sets the number of characters to present in each row.
        Parameters:
        maxCharsInLine - the number of characters to present in each row.
      • getMaxCharsInLine

        public java.lang.Integer getMaxCharsInLine()
        Returns the number of characters that are presented in each row.
        Returns:
        the number of characters that are presented in each row.