Package io.jmix.aitoolsflowui.icon.impl
Class DefaultAiIconProvider
java.lang.Object
io.jmix.aitoolsflowui.icon.impl.DefaultAiIconProvider
- All Implemented Interfaces:
AiIconProvider
Default implementation of
AiIconProvider that uses the built-in
sparkle-burst SVG mark and the dot-variant avatar shipped with the add-on.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.ComponentCreates the assistant avatar glyph used in timeline message rows next to each assistant (and thinking-indicator) message.com.vaadin.flow.component.ComponentCreates the brand mark icon used on the chat hub hero section and on each conversation card (recent list and history panel).
-
Field Details
-
MARK_PATH
- See Also:
-
AVATAR_ICON_PATH
- See Also:
-
-
Constructor Details
-
DefaultAiIconProvider
public DefaultAiIconProvider()
-
-
Method Details
-
createMarkIcon
public com.vaadin.flow.component.Component createMarkIcon()Description copied from interface:AiIconProviderCreates the brand mark icon used on the chat hub hero section and on each conversation card (recent list and history panel).Must return a fresh component on every call.
- Specified by:
createMarkIconin interfaceAiIconProvider- Returns:
- a new component representing the AI brand mark
-
createAvatarIcon
public com.vaadin.flow.component.Component createAvatarIcon()Description copied from interface:AiIconProviderCreates the assistant avatar glyph used in timeline message rows next to each assistant (and thinking-indicator) message.Must return a fresh component on every call.
- Specified by:
createAvatarIconin interfaceAiIconProvider- Returns:
- a new component representing the assistant avatar glyph
-