Uses of Class jfx.incubator.scene.control.richtext.model.StyledTextModel (JavaFX 27)
Description: use: module: jfx.incubator.richtext, package: jfx.incubator.scene.control.richtext.model, class: StyledTextModel

# Uses of Class
jfx.incubator.scene.control.richtext.model.StyledTextModel

Packages that use StyledTextModel
Package
Description
jfx.incubator.scene.control.richtext
Provides two controls for displaying and editing large, virtualized, rich text documents: `RichTextArea` and `CodeArea`.
jfx.incubator.scene.control.richtext.model
Provides common models for `RichTextArea` and `CodeArea` controls.

- ## Uses of StyledTextModel in jfx.incubator.scene.control.richtext

  Methods in jfx.incubator.scene.control.richtext that return StyledTextModel
  Modifier and Type
  Method
  Description
  `final StyledTextModel`
  RichTextArea.`getModel()`
  Gets the value of the `model` property.
  Methods in jfx.incubator.scene.control.richtext that return types with arguments of type StyledTextModel
  Modifier and Type
  Method
  Description
  `final ObjectProperty<StyledTextModel>`
  RichTextArea.`modelProperty()`
  Determines the `StyledTextModel` to use with this RichTextArea.
  Methods in jfx.incubator.scene.control.richtext with parameters of type StyledTextModel
  Modifier and Type
  Method
  Description
  `void`
  SelectionModel.`extendSelection(StyledTextModel model, TextPos pos)`
  Extends selection to the specified position.
  `void`
  SingleSelectionModel.`extendSelection(StyledTextModel model, TextPos pos)`
  `final void`
  RichTextArea.`setModel(StyledTextModel m)`
  Sets the value of the `model` property.
  `void`
  SelectionModel.`setSelection(StyledTextModel model, TextPos anchor, TextPos caret)`
  Replaced existing selection, if any, with the new one.
  `void`
  SingleSelectionModel.`setSelection(StyledTextModel model, TextPos anchor, TextPos caret)`
  `protected void`
  RichTextArea.`validateModel(StyledTextModel m)`
  Validates the model property value.
  Constructors in jfx.incubator.scene.control.richtext with parameters of type StyledTextModel
  Modifier
  Constructor
  Description
  ``
  `RichTextArea(StyledTextModel model)`
  Creates the instance using the specified model.

- ## Uses of StyledTextModel in jfx.incubator.scene.control.richtext.model

  Subclasses of StyledTextModel in jfx.incubator.scene.control.richtext.model
  Modifier and Type
  Class
  Description
  `class`
  `BasicTextModel`
  A StyledTextModel based on plain text paragraphs.
  `class`
  `CodeTextModel`
  Editable plain text model with optional syntax highlighting for use with the `CodeArea` control.
  `class`
  `RichTextModel`
  Editable, in-memory `StyledTextModel` based on a collection of styled segments.
  `class`
  `SimpleViewOnlyStyledModel`
  A simple, view-only, in-memory, styled text model.
  `class`
  `StyledTextModelViewOnlyBase`
  The base class for view-only `StyledTextModel`s.
  Methods in jfx.incubator.scene.control.richtext.model with parameters of type StyledTextModel
  Modifier and Type
  Method
  Description
  `abstract Object`
  DataFormatHandler.`copy(StyledTextModel model, StyleResolver resolver, TextPos start, TextPos end)`
  Creates an object to be put into the Clipboard for the given text range.
  `Object`
  FileListFormatHandler.`copy(StyledTextModel model, StyleResolver r, TextPos start, TextPos end)`
  `Object`
  HtmlExportFormatHandler.`copy(StyledTextModel model, StyleResolver resolver, TextPos start, TextPos end)`
  `Object`
  PlainTextFormatHandler.`copy(StyledTextModel m, StyleResolver resolver, TextPos start, TextPos end)`
  `Object`
  RichTextFormatHandler.`copy(StyledTextModel m, StyleResolver r, TextPos start, TextPos end)`
  `Object`
  RtfFormatHandler.`copy(StyledTextModel model, StyleResolver resolver, TextPos start, TextPos end)`
  `abstract void`
  DataFormatHandler.`save(StyledTextModel model, StyleResolver resolver, TextPos start, TextPos end, OutputStream out)`
  Save the text range in the handler's format to the output stream (e.g.
  `void`
  FileListFormatHandler.`save(StyledTextModel model, StyleResolver r, TextPos start, TextPos end, OutputStream out)`
  `void`
  HtmlExportFormatHandler.`save(StyledTextModel model, StyleResolver resolver, TextPos start, TextPos end, OutputStream out)`
  `void`
  PlainTextFormatHandler.`save(StyledTextModel m, StyleResolver resolver, TextPos start, TextPos end, OutputStream out)`
  `void`
  RichTextFormatHandler.`save(StyledTextModel m, StyleResolver r, TextPos start, TextPos end, OutputStream out)`
  `void`
  RtfFormatHandler.`save(StyledTextModel model, StyleResolver resolver, TextPos start, TextPos end, OutputStream out)`