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:
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsConstructorDescriptionMarkdownMessage(String markdown, String name, LocalDateTime timestamp) MarkdownMessage(String initialContent, String name, MarkdownMessage.Color avatarColor) MarkdownMessage(String name, LocalDateTime timestamp, MarkdownMessage.Color color) MarkdownMessage(String name, MarkdownMessage.Color avatarColor)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidappendMarkdown(String markdownSnippet) protected voidappendMarkdown(String markdownSnippet, boolean uiAccess) voidappendMarkdownAsync(String markdownSnippet) voidappendText(String text) protected voidprotected com.vladsch.flexmark.parser.Parserprotected com.vladsch.flexmark.html.HtmlRenderercom.vaadin.flow.component.UIgetUi()booleanprotected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) voidsetAutoScroll(boolean autoScroll) voidvoidsetUserColorIndex(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, 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 com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName 
- 
Constructor Details
- 
MarkdownMessage
 - 
MarkdownMessage
 - 
MarkdownMessage
 - 
MarkdownMessage
 
 - 
 - 
Method Details
- 
setAvatarColor
 - 
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:
 onAttachin classcom.vaadin.flow.component.Component
 - 
getUi
public com.vaadin.flow.component.UI getUi() - 
appendMarkdown
 - 
appendMarkdownAsync
 - 
appendMarkdown
 - 
isAutoScroll
public boolean isAutoScroll() - 
setAutoScroll
public void setAutoScroll(boolean autoScroll)  - 
doAutoScroll
protected void doAutoScroll() - 
appendText
 
 -