com.vaadin.flow.component.messages.

Class MessageInputI18n

    • Constructor Detail

      • MessageInputI18n

        public MessageInputI18n()
    • Method Detail

      • getMessage

        public String getMessage()

        Gets the translated word for message.

        Returns:

        the translated word for message

      • setMessage

        public MessageInputI18n setMessage(String message)

        Sets the translated word for message.

        This word is used as the placeholder and aria-label for the input field where the user can type a new message.

        Parameters:

        message - the translated word for message

        Returns:

        this instance for method chaining

      • getSend

        public String getSend()

        Gets the translated word for send.

        Returns:

        the translated word for send

      • setSend

        public MessageInputI18n setSend(String send)

        Sets the translated word for send.

        This word is used as the text content of the button for submitting new messages.

        Parameters:

        send - the translated word for send

        Returns:

        this instance for method chaining