Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttachment(MessageListItem.Attachment) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Adds an attachment to this message.
- addAttachmentClickListener(ComponentEventListener<MessageList.AttachmentClickEvent>) - Method in class com.vaadin.flow.component.messages.MessageList
-
Adds a listener that is called when an attachment is clicked.
- 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.
- Attachment(String, String, String) - Constructor for record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Creates an instance of a
Attachmentrecord class. - AttachmentClickEvent(MessageList, boolean, int, int) - Constructor for class com.vaadin.flow.component.messages.MessageList.AttachmentClickEvent
-
Creates a new attachment click event.
- AURA_ICON_BUTTON - Enum constant in enum class com.vaadin.flow.component.messages.MessageInputVariant
C
- com.vaadin.flow.component.messages - package com.vaadin.flow.component.messages
E
- equals(Object) - Method in record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Indicates whether some other object is "equal to" this one.
F
- FEATURE_FLAG_ID - Static variable in class com.vaadin.flow.component.messages.MessageListAttachmentsFeatureFlagProvider
-
The feature flag ID for MessageList attachments.
G
- getAttachment() - Method in class com.vaadin.flow.component.messages.MessageList.AttachmentClickEvent
-
Gets the clicked attachment.
- getAttachments() - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Gets the attachments of this message.
- getFeatures() - Method in class com.vaadin.flow.component.messages.MessageListAttachmentsFeatureFlagProvider
- getI18n() - Method in class com.vaadin.flow.component.messages.MessageInput
-
Gets the internationalization object previously set for this component.
- getItem() - Method in class com.vaadin.flow.component.messages.MessageList.AttachmentClickEvent
-
Gets the message item containing the clicked attachment.
- 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.
- getVariantName() - Method in enum class com.vaadin.flow.component.messages.MessageInputVariant
-
Gets the variant name.
H
- hasClassName(String) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Checks if the message has the given class name.
- hashCode() - Method in record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Returns a hash code value for this object.
- 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
- MESSAGE_LIST_ATTACHMENTS - Static variable in class com.vaadin.flow.component.messages.MessageListAttachmentsFeatureFlagProvider
-
The MessageList attachments feature flag.
- 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
- MessageInputVariant - Enum Class in com.vaadin.flow.component.messages
-
Set of theme variants applicable for
vaadin-message-inputcomponent. - 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.
- MessageList.AttachmentClickEvent - Class in com.vaadin.flow.component.messages
-
Event fired when an attachment is clicked in the message list.
- MessageListAttachmentsExperimentalFeatureException - Exception Class in com.vaadin.flow.component.messages
-
An exception which is thrown when somebody attempts to use MessageListItem attachments without activating the associated feature flag first.
- MessageListAttachmentsExperimentalFeatureException() - Constructor for exception class com.vaadin.flow.component.messages.MessageListAttachmentsExperimentalFeatureException
- MessageListAttachmentsFeatureFlagProvider - Class in com.vaadin.flow.component.messages
-
Provides the MessageList attachments feature flag for enabling attachments in MessageListItem.
- MessageListAttachmentsFeatureFlagProvider() - Constructor for class com.vaadin.flow.component.messages.MessageListAttachmentsFeatureFlagProvider
- 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.
- MessageListItem.Attachment - Record Class in com.vaadin.flow.component.messages
-
Represents an attachment that can be associated with a message.
- mimeType() - Method in record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Returns the value of the
mimeTyperecord component.
N
- name() - Method in record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Returns the value of the
namerecord component.
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. - setAttachments(List<MessageListItem.Attachment>) - Method in class com.vaadin.flow.component.messages.MessageListItem
-
Sets the attachments of this message.
- 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.
T
- toString() - Method in record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Returns a string representation of this record class.
U
- url() - Method in record class com.vaadin.flow.component.messages.MessageListItem.Attachment
-
Returns the value of the
urlrecord component.
V
- valueOf(String) - Static method in enum class com.vaadin.flow.component.messages.MessageInputVariant
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.messages.MessageInputVariant
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MessageListItem.setUserImageHandler(DownloadHandler)instead