# Uses of Enum Class
jfx.incubator.scene.control.richtext.LineEnding

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

  Subclasses with type arguments of type LineEnding in jfx.incubator.scene.control.richtext
  Modifier and Type
  Class
  Description
  `enum`
  `LineEnding`
  Specifies line separator (line ending) characters.
  Methods in jfx.incubator.scene.control.richtext that return LineEnding
  Modifier and Type
  Method
  Description
  `final LineEnding`
  RichTextArea.`getLineEnding()`
  Convenience method which delegates to `StyledTextModel.getLineEnding()`.
  `static LineEnding`
  LineEnding.`system()`
  Returns the `LineEnding` based on the value of system line separator string `System.lineSeparator()`.
  `static LineEnding`
  LineEnding.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static LineEnding[]`
  LineEnding.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in jfx.incubator.scene.control.richtext with parameters of type LineEnding
  Modifier and Type
  Method
  Description
  `final void`
  RichTextArea.`setLineEnding(LineEnding value)`
  Sets the model's line ending characters.

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

  Methods in jfx.incubator.scene.control.richtext.model that return LineEnding
  Modifier and Type
  Method
  Description
  `final LineEnding`
  StyledTextModel.`getLineEnding()`
  Specifies the line ending characters.
  Methods in jfx.incubator.scene.control.richtext.model with parameters of type LineEnding
  Modifier and Type
  Method
  Description
  `static StyledOutput`
  StyledOutput.`forPlainText(LineEnding lineEnding)`
  Creates an instance of a plain text StyledOutput with the specified line ending characters.
  `final void`
  StyledTextModel.`setLineEnding(LineEnding value)`
  Sets the line ending characters.