# Uses of Interface
jfx.incubator.scene.control.richtext.model.StyledInput

Packages that use StyledInput
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 StyledInput in jfx.incubator.scene.control.richtext

  Methods in jfx.incubator.scene.control.richtext with parameters of type StyledInput
  Modifier and Type
  Method
  Description
  `final TextPos`
  RichTextArea.`appendText(StyledInput in)`
  Appends the styled content to the end of the document.
  `final TextPos`
  RichTextArea.`insertText(TextPos pos, StyledInput in)`
  Inserts the styled content at the specified position.
  `final TextPos`
  RichTextArea.`replaceText(TextPos start, TextPos end, StyledInput in, boolean createUndo)`
  Replaces the specified range with the new input.

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

  Fields in jfx.incubator.scene.control.richtext.model declared as StyledInput
  Modifier and Type
  Field
  Description
  `static final StyledInput`
  StyledInput.`EMPTY`
  An empty StyledInput.
  Methods in jfx.incubator.scene.control.richtext.model that return StyledInput
  Modifier and Type
  Method
  Description
  `abstract StyledInput`
  DataFormatHandler.`createStyledInput(String input, StyleAttributeMap attr)`
  Creates a StyledInput for the given input string.
  `StyledInput`
  HtmlExportFormatHandler.`createStyledInput(String input, StyleAttributeMap attr)`
  `StyledInput`
  PlainTextFormatHandler.`createStyledInput(String text, StyleAttributeMap attr)`
  `StyledInput`
  RichTextFormatHandler.`createStyledInput(String input, StyleAttributeMap attr)`
  `StyledInput`
  RtfFormatHandler.`createStyledInput(String text, StyleAttributeMap attr)`
  `static StyledInput`
  StyledInput.`of(String text)`
  Creates a plain text styled input with `StyleAttributeMap.EMPTY`.
  `static StyledInput`
  StyledInput.`of(String text, StyleAttributeMap attrs)`
  Creates a plain text styled input with the specified style.
  Methods in jfx.incubator.scene.control.richtext.model with parameters of type StyledInput
  Modifier and Type
  Method
  Description
  `final TextPos`
  StyledTextModel.`replace(StyleResolver resolver, TextPos start, TextPos end, StyledInput input, boolean allowUndo)`
  Replaces the given range with the provided styled text input.