com.hp.lft.sdk.web

Class ButtonDescription.Init<T extends ButtonDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • buttonType

        public T buttonType(java.lang.String buttonType)
        Initializes the type of button, for example, submit or reset.
        Parameters:
        buttonType - the button type.
        Returns:
        the description instance with the update state (builder pattern).
      • buttonType

        public T buttonType(StringProperty buttonType)
        Initializes the type of button, for example, submit or reset.
        Parameters:
        buttonType - a StringProperty(or RegExpProperty) representing the button type.
        Returns:
        the description instance with the update state (builder pattern).
      • text

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

        public T text(StringProperty text)
        Initializes the text on the button.
        Parameters:
        text - a StringProperty (or RegExpProperty) representing the text on the button.
        Returns:
        the description instance with the update state (builder pattern).
      • enabled

        public T enabled(java.lang.Boolean enabled)
        Initializes whether the button is enabled.
        Parameters:
        enabled - whether the button is enabled.
        Returns:
        the description instance with the update state (builder pattern).