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