Class MessageInputI18n
java.lang.Object
com.vaadin.flow.component.messages.MessageInputI18n
- All Implemented Interfaces:
Serializable
The internationalization properties for
MessageInput. This can be
used to customize and translate the language used in the message input
component.- Author:
- Vaadin Ltd.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the translated word formessage.getSend()Gets the translated word forsend.setMessage(String message) Sets the translated word formessage.Sets the translated word forsend.
-
Constructor Details
-
MessageInputI18n
public MessageInputI18n()
-
-
Method Details
-
getMessage
Gets the translated word formessage.- Returns:
- the translated word for message
-
setMessage
Sets the translated word formessage.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
Gets the translated word forsend.- Returns:
- the translated word for send
-
setSend
Sets the translated word forsend.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
-