com.hp.lft.sdk.web

Class EditFieldDescription.Init<T extends EditFieldDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • defaultValue

        public T defaultValue(java.lang.String defaultValue)
        Initializes the default value that will be presented in the edit field.
        Parameters:
        defaultValue - the default value that will be presented in the edit field.
        Returns:
        the description instance with the update state (builder pattern).
      • defaultValue

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

        public T maxLength(java.lang.Integer maxLength)
        Initializes the max number of characters that can be entered in the input field.
        Parameters:
        maxLength - the max number of characters that can be entered in the input field.
        Returns:
        the description instance with the update state (builder pattern).
      • pattern

        public T pattern(java.lang.String pattern)
        Initializes the input pattern, for example, a phone number.
        Parameters:
        pattern - the pattern of the input.
        Returns:
        the description instance with the update state (builder pattern).
      • pattern

        public T pattern(StringProperty pattern)
        Initializes the input pattern, for example, a phone number.
        Parameters:
        pattern - a StringProperty (or RegExpProperty) representing the pattern of the input.
        Returns:
        the description instance with the update state (builder pattern).
      • rowsCount

        public T rowsCount(java.lang.Integer rowsCount)
        Initializes the number of rows for multi-line objects.
        Parameters:
        rowsCount - the number of rows for multi-line objects.
        Returns:
        the description instance with the update state (builder pattern).