public class MessageInputI18n extends Object implements Serializable
MessageInput
. This can be
used to customize and translate the language used in the message input
component.MessageInput.setI18n(MessageInputI18n)
,
Serialized FormConstructor and Description |
---|
MessageInputI18n() |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets the translated word for
message . |
String |
getSend()
Gets the translated word for
send . |
MessageInputI18n |
setMessage(String message)
Sets the translated word for
message . |
MessageInputI18n |
setSend(String send)
Sets the translated word for
send . |
public String getMessage()
message
.public MessageInputI18n setMessage(String message)
message
.
This word is used as the placeholder and aria-label for the input field where the user can type a new message.
message
- the translated word for messagepublic String getSend()
send
.public MessageInputI18n setSend(String send)
send
.
This word is used as the text content of the button for submitting new messages.
send
- the translated word for sendCopyright © 2021. All rights reserved.