# Uses of Interface
jfx.incubator.scene.control.richtext.StyleResolver

Packages that use StyleResolver
Package
Description
jfx.incubator.scene.control.richtext.model
Provides common models for `RichTextArea` and `CodeArea` controls.
jfx.incubator.scene.control.richtext.skin
Contains RichTextArea skin and related classes.

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

  Methods in jfx.incubator.scene.control.richtext.model with parameters of type StyleResolver
  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`
  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)`
  `StyleAttributeMap`
  BasicTextModel.`getStyleAttributeMap(StyleResolver resolver, TextPos pos)`
  `StyleAttributeMap`
  RichTextModel.`getStyleAttributeMap(StyleResolver resolver, TextPos pos)`
  `StyleAttributeMap`
  SimpleViewOnlyStyledModel.`getStyleAttributeMap(StyleResolver r, TextPos pos)`
  `StyleAttributeMap`
  StyledSegment.`getStyleAttributeMap(StyleResolver resolver)`
  This method returns StyleAttributeMap (or null) for this segment.
  `abstract StyleAttributeMap`
  StyledTextModel.`getStyleAttributeMap(StyleResolver resolver, TextPos pos)`
  Returns the `StyleAttributeMap` of the character at the specified position's `charIndex`.
  `final void`
  StyledTextModel.`read(StyleResolver r, DataFormat f, InputStream input)`
  Replaces the content of the model with the data read from the input stream, using the specified `DataFormat`.
  `final TextPos[]`
  StyledTextModel.`redo(StyleResolver resolver)`
  Redoes the recent change, if possible, returning an array comprising [start, end] text positions prior to the change.
  `final TextPos`
  StyledTextModel.`replace(StyleResolver resolver, TextPos start, TextPos end, String text)`
  Replaces the given range with the provided plain text.
  `final TextPos`
  StyledTextModel.`replace(StyleResolver resolver, TextPos start, TextPos end, StyledInput input)`
  Replaces the given range with the provided styled text input.
  `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`
  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)`
  `final TextPos[]`
  StyledTextModel.`undo(StyleResolver resolver)`
  Undoes the recent change, if possible, returning an array comprising [start, end] text positions prior to the change.
  `final void`
  StyledTextModel.`write(StyleResolver r, DataFormat f, OutputStream out)`
  Writes the model content to the output stream using the specified `DataFormat`.

- ## Uses of StyleResolver in jfx.incubator.scene.control.richtext.skin

  Methods in jfx.incubator.scene.control.richtext.skin that return StyleResolver
  Modifier and Type
  Method
  Description
  `StyleResolver`
  RichTextAreaSkin.`getStyleResolver()`
  Returns the skin's `StyleResolver`.