Top Description Interfaces Classes
module jfx.incubator.richtext

Package jfx.incubator.scene.control.richtext


Provides two controls for displaying and editing large, virtualized, rich text documents: RichTextArea and CodeArea.

While RichTextArea works with styled text and embedded Nodes, the CodeArea is optimized for plain text documents with syntax highlighting.

Incubating Feature. Will be removed in a future release.

Since
24

Interface Summary

Modifier and TypeInterface and Description
public interface
SelectionModel

A Selection model that maintains a single SelectionSegment.

public interface
SideDecorator

Provides a way to add side decorations to each paragraph in a RichTextArea.

public interface
StyleAttributeHandler<
the actual type of RichTextArea control
C extends RichTextArea
,
the attribute value type
T
>

This functional interface defines a style attribute handler.

public interface
StyleResolver

Enables conversion of CSS styles to StyleAttributes.

public interface
SyntaxDecorator

Decorates plain text by producing a RichParagraph.

Class Summary

Modifier and TypeClass and Description
public class
CodeArea

CodeArea is an editable text component which supports styling (for example, syntax highlighting) of plain text.

public class
LineNumberDecorator

Side decorator which shows paragraph (line) numbers.

public class
Marker

Tracks the text position in a document in the presence of edits.

public class
RichTextArea

The RichTextArea control is designed for visualizing and editing rich text that can be styled in a variety of ways.

public class
SelectionSegment

Text selection segment, comprised of the selection anchor and the caret positions.

public class
SingleSelectionModel

This SelectionModel supports a single selection segment.

public class
StyleHandlerRegistry

Style Handler Registry keeps track of the StyleAttributeHandler for supported StyleAttributes.

public class
TextPos

An immutable position within the text.