com.hp.lft.sdk.web

Class EditFieldDescription

    • 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

      • setDefaultValue

        public void setDefaultValue(StringProperty defaultValue)
        Sets the default value that will be presented in the edit field.
        Parameters:
        defaultValue - a StringProperty (or RegExpProperty) representing the default value that will be presented in the edit field.
      • setDefaultValue

        public void setDefaultValue(java.lang.String defaultValue)
        Sets the default value that will be presented in the edit field.
        Parameters:
        defaultValue - the default value that will be presented in the edit field.
      • getDefaultValue

        public StringProperty getDefaultValue()
        Returns the default value that will be displayed in the edit field.
        Returns:
        the default value that will be displayed in the edit field.
      • setMaxLength

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

        public java.lang.Integer getMaxLength()
        Returns the maximum number of characters that can be entered in the input field.
        Returns:
        the maximum number of characters that can be entered in the input field.
      • setPattern

        public void setPattern(StringProperty pattern)
        Sets the input pattern, for example, a phone number.
        Parameters:
        pattern - a StringProperty (or RegExpProperty) representing the pattern of the input.
      • setPattern

        public void setPattern(java.lang.String pattern)
        Sets the input pattern, for example, a phone number.
        Parameters:
        pattern - the pattern of the input.
      • getPattern

        public StringProperty getPattern()
        Returns the input pattern, for example, a phone number.
        Returns:
        the input pattern.
      • setRowsCount

        public void setRowsCount(java.lang.Integer rowsCount)
        Sets the number of rows for multi-line objects.
        Parameters:
        rowsCount - the number of rows for multi-line objects.
      • getRowsCount

        public java.lang.Integer getRowsCount()
        Returns the number of rows for multi-line objects.
        Returns:
        the number of rows for multi-line objects.