Class AiMessageListLoader

java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<AiMessageList>
io.jmix.aichat.xml.layout.loader.AiMessageListLoader
All Implemented Interfaces:
ComponentLoader<AiMessageList>

public class AiMessageListLoader extends AbstractComponentLoader<AiMessageList>
Loads AiMessageList from a view descriptor.
  • Field Details

  • Constructor Details

    • AiMessageListLoader

      public AiMessageListLoader()
  • Method Details

    • createComponent

      protected AiMessageList createComponent()
      Specified by:
      createComponent in class AbstractComponentLoader<AiMessageList>
    • initComponent

      public void initComponent()
      Description copied from interface: ComponentLoader
      Creates result component by XML-element
      Specified by:
      initComponent in interface ComponentLoader<AiMessageList>
      Overrides:
      initComponent in class AbstractComponentLoader<AiMessageList>
    • loadComponent

      public void loadComponent()
      Description copied from interface: ComponentLoader
      Loads component properties by XML definition.
    • loadI18n

      protected void loadI18n()
      Applies the labels declared in the nested i18n element on top of the localization the component resolved from the message bundle when it was created — its own labels, and, from the nested codeBlock element, those of the code blocks rendered inside messages, which the list's bean holds as the code block's own bean.

      The escalating thinking-stage labels are not part of this element: each is paired with a delay on a thinkingStage, loaded from thinkingStages above.

    • getAiComponentLoaderSupport

      protected AiComponentLoaderSupport getAiComponentLoaderSupport()