Package com.vaadin.flow.component.ai.ui
Interface AIMessageList.AttachmentClickCallback
- All Superinterfaces:
Serializable
- Enclosing interface:
AIMessageList
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface AIMessageList.AttachmentClickCallback
extends Serializable
Callback for attachment click events in the message list.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAttachmentClick(AIMessage message, int attachmentIndex) Called when an attachment in the message list is clicked.
-
Method Details
-
onAttachmentClick
Called when an attachment in the message list is clicked.- Parameters:
message- the message containing the clicked attachmentattachmentIndex- the 0-based index of the clicked attachment within the message
-