com.hp.lft.sdk.web

Class EditFieldBaseDescription.Init<T extends EditFieldBaseDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • value

        public T value(java.lang.String value)
        Initializes the text in the field.
        Parameters:
        value - the text in the field.
        Returns:
        the description instance with the update state (builder pattern).
      • value

        public T value(StringProperty value)
        Initializes the text in the field.
        Parameters:
        value - a StringProperty (or RegExpProperty) representing the text in the field.
        Returns:
        the description instance with the update state (builder pattern).
      • placeholder

        public T placeholder(java.lang.String placeholder)
        Initializes 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.
        Returns:
        the description instance with the update state (builder pattern).
      • placeholder

        public T placeholder(StringProperty placeholder)
        Initializes 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.
        Returns:
        the description instance with the update state (builder pattern).
      • readOnly

        public T readOnly(java.lang.Boolean readOnly)
        Initializes whether or not the control is read only.
        Parameters:
        readOnly - whether or not the control is read only.
        Returns:
        the description instance with the update state (builder pattern).
      • required

        public T required(java.lang.Boolean required)
        Initializes whether or not the field is mandatory in the form.
        Parameters:
        required - whether or not the field is mandatory in the form.
        Returns:
        the description instance with the update state (builder pattern).
      • maxCharsInLine

        public T maxCharsInLine(java.lang.Integer maxCharsInLine)
        Initializes the number of characters to present in each row.
        Parameters:
        maxCharsInLine - the number of characters to present in each row.
        Returns:
        the description instance with the update state (builder pattern).