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:
  • Field Details

  • Constructor Details

    • TimelineItemRenderer

      public TimelineItemRenderer()
  • Method Details

    • setItem

      public void setItem(@Nullable TimelineItem item)
      Description copied from class: FragmentRenderer
      Sets the corresponding item for the rendered fragment component.
      Overrides:
      setItem in class FragmentRenderer<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

      protected String getMessageGroup()