Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addClassNames(String...) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Adds one or more class names to this item.
- addItem(MessageListItem) - Method in class com.vaadin.flow.component.messages.MessageList
-
Adds a single item to be rendered as a message at the end of this message list.
- addSubmitListener(ComponentEventListener<MessageInput.SubmitEvent>) - Method in class com.vaadin.flow.component.messages.MessageInput
-
Adds a listener that is called when the user submits the value of the input field, which can be obtained with
MessageInput.SubmitEvent.getValue(). - addThemeNames(String...) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Adds one or more theme names to this message.
- appendText(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Appends the provided text to the message's text content.
C
- com.vaadin.flow.component.messages - package com.vaadin.flow.component.messages
G
- getI18n() - Method in class com.vaadin.flow.component.messages.MessageInput
-
Gets the internationalization object previously set for this component.
- getItems() - Method in class com.vaadin.flow.component.messages.MessageList
-
Gets the items that are rendered as message components in this message list.
- getMessage() - Method in class com.vaadin.flow.component.messages.MessageInputI18n
-
Gets the translated word for
message. - getSend() - Method in class com.vaadin.flow.component.messages.MessageInputI18n
-
Gets the translated word for
send. - getText() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the text content of the message.
- getTime() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the time of sending the message.
- getUserAbbreviation() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the abbreviation of the message sender.
- getUserColorIndex() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the color index of the message sender.
- getUserImage() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the URL to the message sender's image.
- getUserImageResource() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the image resource of the message sender's avatar.
- getUserName() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the user name of the message sender.
- getValue() - Method in class com.vaadin.flow.component.messages.MessageInput.SubmitEvent
-
Gets the submitted value.
H
- hasClassName(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Checks if the message has the given class name.
- hasThemeName(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Checks if the message has the given theme name.
I
- isAnnounceMessages() - Method in class com.vaadin.flow.component.messages.MessageList
-
Returns whether new messages are announced to assistive technologies.
- isMarkdown() - Method in class com.vaadin.flow.component.messages.MessageList
-
Returns whether the messages are parsed as markdown.
L
- localeChange(LocaleChangeEvent) - Method in class com.vaadin.flow.component.messages.MessageList
M
- MessageInput - Class in com.vaadin.flow.component.messages
-
Message Input allows users to author and send messages.
- MessageInput() - Constructor for class com.vaadin.flow.component.messages.MessageInput
-
Creates a new message input component.
- MessageInput(ComponentEventListener<MessageInput.SubmitEvent>) - Constructor for class com.vaadin.flow.component.messages.MessageInput
-
Creates a new message input component with the provided listener that gets invoked when the user submits a new message.
- MessageInput.SubmitEvent - Class in com.vaadin.flow.component.messages
-
The
submitevent which is fired byMessageInputcomponent. - MessageInputI18n - Class in com.vaadin.flow.component.messages
-
The internationalization properties for
MessageInput. - MessageInputI18n() - Constructor for class com.vaadin.flow.component.messages.MessageInputI18n
- MessageList - Class in com.vaadin.flow.component.messages
-
Message List allows you to show a list of messages, for example, a chat log.
- MessageList() - Constructor for class com.vaadin.flow.component.messages.MessageList
-
Creates a new message list component.
- MessageList(MessageListItem...) - Constructor for class com.vaadin.flow.component.messages.MessageList
-
Creates a new message list component, with the provided items rendered as messages.
- MessageList(Collection<MessageListItem>) - Constructor for class com.vaadin.flow.component.messages.MessageList
-
Creates a new message list component, with the provided items rendered as messages.
- MessageListItem - Class in com.vaadin.flow.component.messages
-
Item to render as a message component inside a
MessageList. - MessageListItem() - Constructor for class com.vaadin.flow.component.messages.MessageListItem
-
Creates an empty message list item.
- MessageListItem(String) - Constructor for class com.vaadin.flow.component.messages.MessageListItem
-
Creates a message list item with the provided text, which will be displayed as plain text in the message body.
- MessageListItem(String, String) - Constructor for class com.vaadin.flow.component.messages.MessageListItem
-
Creates a message list item with the provided text content and user name.
- MessageListItem(String, Instant, String) - Constructor for class com.vaadin.flow.component.messages.MessageListItem
-
Creates a message list item with the provided text content, time and user name.
- MessageListItem(String, Instant, String, String) - Constructor for class com.vaadin.flow.component.messages.MessageListItem
-
Creates a message list item with the provided text content, time and user name.
R
- removeClassNames(String...) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Removes one or more class names from this item.
- removeThemeNames(String...) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Removes one or more theme names from this message.
S
- setAnnounceMessages(boolean) - Method in class com.vaadin.flow.component.messages.MessageList
-
When set to
true, new messages are announced to assistive technologies using ARIA live regions. - setI18n(MessageInputI18n) - Method in class com.vaadin.flow.component.messages.MessageInput
-
Sets the internationalization object for this component.
- setItems(MessageListItem...) - Method in class com.vaadin.flow.component.messages.MessageList
-
Sets the items that will be rendered as messages in this message list.
- setItems(Collection<MessageListItem>) - Method in class com.vaadin.flow.component.messages.MessageList
-
Sets the items that will be rendered as messages in this message list.
- setMarkdown(boolean) - Method in class com.vaadin.flow.component.messages.MessageList
-
Sets whether the messages should be parsed as markdown.
- setMessage(String) - Method in class com.vaadin.flow.component.messages.MessageInputI18n
-
Sets the translated word for
message. - setSend(String) - Method in class com.vaadin.flow.component.messages.MessageInputI18n
-
Sets the translated word for
send. - setText(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the text content of the message.
- setTime(Instant) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the time of sending the message.
- setUserAbbreviation(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the abbreviation of the message sender.
- setUserColorIndex(Integer) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the color index of the message sender.
- setUserImage(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the URL to the message sender's image.
- setUserImageHandler(DownloadHandler) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the image for the message sender's avatar.
- setUserImageResource(AbstractStreamResource) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setUserName(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the user name of the message sender.
- SubmitEvent(MessageInput, boolean, String) - Constructor for class com.vaadin.flow.component.messages.MessageInput.SubmitEvent
-
Creates the event.
All Classes and Interfaces|All Packages|Serialized Form
setUserImageHandler(DownloadHandler)instead