Class TimelineItemRenderer
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
io.jmix.flowui.fragment.Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
io.jmix.flowui.fragmentrenderer.FragmentRenderer<com.vaadin.flow.component.orderedlayout.VerticalLayout,TimelineItem>
io.jmix.aitoolsflowui.view.chat.renderer.TimelineItemRenderer
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,FacetOwner,FragmentOwner,Serializable
public class TimelineItemRenderer
extends FragmentRenderer<com.vaadin.flow.component.orderedlayout.VerticalLayout,TimelineItem>
Painting a single
TimelineItem row for the conversation virtual list.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.fragment.Fragment
Fragment.ReadyEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ActorNameResolverprotected ChatDateTimeSupportprotected AiIconProviderprotected MessagesFields inherited from class io.jmix.flowui.fragmentrenderer.FragmentRenderer
itemFields inherited from class io.jmix.flowui.fragment.Fragment
fragmentActions, fragmentData, fragmentFacets, parentController, uiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.component.Component> voidsetItem(@Nullable TimelineItem item) Sets the corresponding item for the rendered fragment component.Methods inherited from class io.jmix.flowui.fragmentrenderer.FragmentRenderer
getItem, getItemRendererContainerMethods inherited from class io.jmix.flowui.fragment.Fragment
addReadyListener, findInnerComponent, getFragmentActions, getFragmentData, getFragmentFacets, getInnerComponent, getParentController, initContent, onAttach, onDetach, setFragmentActions, setFragmentData, setFragmentFacets, setParentController, setUiComponentsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface io.jmix.flowui.facet.FacetOwner
getIdMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
actorNameResolver
-
chatDateTimeSupport
-
messages
-
iconProvider
-
-
Constructor Details
-
TimelineItemRenderer
public TimelineItemRenderer()
-
-
Method Details
-
setItem
Description copied from class:FragmentRendererSets the corresponding item for the rendered fragment component.- Overrides:
setItemin classFragmentRenderer<com.vaadin.flow.component.orderedlayout.VerticalLayout,TimelineItem> - Parameters:
item- the item for the rendered fragment component
-
resolveAiAvatarIconSupplier
protected com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.component.Component> resolveAiAvatarIconSupplier() -
getMessageGroup
-