Class MarkdownMessage

java.lang.Object
com.vaadin.flow.component.Component
org.vaadin.firitin.components.messagelist.MarkdownMessage
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable

@Tag("vaadin-message") public class MarkdownMessage extends com.vaadin.flow.component.Component
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    MarkdownMessage(String name, Integer userColorIndex)
     
    MarkdownMessage(String initialContent, String name, Integer userColorIndex)
     
    MarkdownMessage(String markdown, String name, LocalDateTime timestamp)
     
    MarkdownMessage(String name, LocalDateTime timestamp, Integer userColorIndex)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendMarkdown(String markdownSnippet)
     
    protected void
    appendMarkdown(String markdownSnippet, boolean uiAccess)
     
    void
    appendMarkdownAsync(String markdownSnippet)
     
    void
     
    protected com.vladsch.flexmark.parser.Parser
     
    protected com.vladsch.flexmark.html.HtmlRenderer
     
    com.vaadin.flow.component.UI
     
    protected void
    onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
     
    void
    setUserColorIndex(int index)
     

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

  • Method Details

    • setUserColorIndex

      public void setUserColorIndex(int index)
    • getMdRenderer

      protected com.vladsch.flexmark.html.HtmlRenderer getMdRenderer()
    • getMdParser

      protected com.vladsch.flexmark.parser.Parser getMdParser()
    • onAttach

      protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
      Overrides:
      onAttach in class com.vaadin.flow.component.Component
    • getUi

      public com.vaadin.flow.component.UI getUi()
    • appendMarkdown

      public void appendMarkdown(String markdownSnippet)
    • appendMarkdownAsync

      public void appendMarkdownAsync(String markdownSnippet)
    • appendMarkdown

      protected void appendMarkdown(String markdownSnippet, boolean uiAccess)
    • appendText

      public void appendText(String text)