# Uses of Class
jfx.incubator.scene.control.richtext.SelectionSegment

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

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

  Methods in jfx.incubator.scene.control.richtext that return SelectionSegment
  Modifier and Type
  Method
  Description
  `final SelectionSegment`
  RichTextArea.`getSelection()`
  Gets the value of the `selection` property.
  `SelectionSegment`
  SelectionModel.`getSelection()`
  Returns the current selection.
  `SelectionSegment`
  SingleSelectionModel.`getSelection()`
  Gets the value of the `selection` property.
  Methods in jfx.incubator.scene.control.richtext that return types with arguments of type SelectionSegment
  Modifier and Type
  Method
  Description
  `final ReadOnlyProperty<SelectionSegment>`
  RichTextArea.`selectionProperty()`
  Tracks the current selection.
  `ReadOnlyProperty<SelectionSegment>`
  SelectionModel.`selectionProperty()`
  Selection property.
  `ReadOnlyProperty<SelectionSegment>`
  SingleSelectionModel.`selectionProperty()`