Uses of Class jfx.incubator.scene.control.richtext.model.StyledSegment (JavaFX 27)
Description: use: module: jfx.incubator.richtext, package: jfx.incubator.scene.control.richtext.model, class: StyledSegment

# 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`
  RichParagraph.Builder.`getSegment(int index)`
  Returns the segment at the specified index.
  `abstract StyledSegment`
  RichParagraph.`getSegment(int index)`
  Returns the segment at the specified index.
  `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.`ofDocumentProperties(Map<String,String> props)`
  Creates a StyledSegment that contains the document properties.
  `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.
  `static StyledSegment`
  StyledSegment.`ofVersion(String version)`
  Creates a StyledSegment that contains the document version.
  `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.