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

Packages that use StyledSegment
Package
Description
jfx.incubator.scene.control.richtext.model
Provides common models for `RichTextArea` and `CodeArea` controls.

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

  Fields in jfx.incubator.scene.control.richtext.model declared as StyledSegment
  Modifier and Type
  Field
  Description
  `static final StyledSegment`
  StyledSegment.`LINE_BREAK`
  A styled segment that represents a line break
  Methods in jfx.incubator.scene.control.richtext.model that return StyledSegment
  Modifier and Type
  Method
  Description
  `StyledSegment`
  StyledInput.`nextSegment()`
  Returns the next segment, or null if no more segments.
  `static StyledSegment`
  StyledSegment.`of(String text)`
  Creates a StyleSegment from a non-null plain text.
  `static StyledSegment`
  StyledSegment.`of(String text, StyleAttributeMap attrs)`
  Creates a StyleSegment from a non-null plain text and style attributes.
  `static StyledSegment`
  StyledSegment.`ofInlineNode(Supplier<Node> generator)`
  Creates a StyledSegment which consists of a single inline Node.
  `static StyledSegment`
  StyledSegment.`ofParagraphAttributes(StyleAttributeMap attrs)`
  Creates a StyledSegment which contains paragraph attributes only.
  `static StyledSegment`
  StyledSegment.`ofRegion(Supplier<Region> generator)`
  Creates a StyledSegment for a paragraph that contains a single Region.
  `abstract StyledSegment`
  StyledSegment.`subSegment(int start, int end)`
  Creates a sub-segment of this segment.
  Methods in jfx.incubator.scene.control.richtext.model with parameters of type StyledSegment
  Modifier and Type
  Method
  Description
  `void`
  StyledOutput.`consume(StyledSegment segment)`
  Consumes the next styled segment.