Uses of Class
jfx.incubator.scene.control.richtext.model.SimpleViewOnlyStyledModel
Packages that use SimpleViewOnlyStyledModel
-
Uses of SimpleViewOnlyStyledModel in jfx.incubator.scene.control.richtext.model
Methods in jfx.incubator.scene.control.richtext.model that return SimpleViewOnlyStyledModelModifier and TypeMethodDescriptionSimpleViewOnlyStyledModel.addImage
(InputStream in) Adds a paragraph containing an image.SimpleViewOnlyStyledModel.addNodeSegment
(Supplier<Node> generator) Adds an inline Node to the last paragraph.SimpleViewOnlyStyledModel.addParagraph
(Supplier<Region> generator) Adds a paragraph containing aRegion
.SimpleViewOnlyStyledModel.addSegment
(String text) Appends a text segment to the last paragraph.SimpleViewOnlyStyledModel.addSegment
(String text, StyleAttributeMap a) Appends a text segment styled with the specified style attributes.SimpleViewOnlyStyledModel.addWavyUnderline
(int start, int length, Color c) Adds a wavy underline (typically used as a spell checker indicator) to the specified range within the last paragraph.SimpleViewOnlyStyledModel.addWithInlineAndStyleNames
(String text, String style, String... css) Appends a text segment styled with both the inline style and the stylesheet style names.SimpleViewOnlyStyledModel.addWithInlineStyle
(String text, String style) Appends a text segment styled with the inline style.SimpleViewOnlyStyledModel.addWithStyleNames
(String text, String... css) Appends a text segment styled with the stylesheet style names.Adds a highlight of the given color to the specified range within the last paragraph.SimpleViewOnlyStyledModel.nl()
Adds a new paragraph (as if inserting a newline symbol into the text).SimpleViewOnlyStyledModel.nl
(int count) Addsn
new paragraphs (as if inserting a newline symbol into the textn
times).static SimpleViewOnlyStyledModel
Creates the model from the supplied text string by breaking it down into individual text segments, by splitting on newline characters.SimpleViewOnlyStyledModel.setParagraphAttributes
(StyleAttributeMap a) Sets the last paragraph's attributes.