Package com.vaadin.collaborationengine
Interface CollaborationMessageList.MessageConfigurator
- Enclosing class:
- CollaborationMessageList
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Configurator callback for messages in a
CollaborationMessageList
.
It can be used for customizing the properties of the
MessageListItem
objects after the component has generated them,
before sending those to the user's browser.-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureMessage
(MessageListItem message, UserInfo user) Configures the provided message after theCollaborationMessageList
has generated it.
-
Method Details
-
configureMessage
Configures the provided message after theCollaborationMessageList
has generated it. The configuration should be done by mutating themessage
parameter.- Parameters:
message
- the message to configureuser
- the sender of the message
-