APIdia Launch Partner
Top Description Interfaces Classes Enums
module jfx.incubator.richtext

Package jfx.incubator.scene.control.richtext.model


Provides common models for RichTextArea and CodeArea controls.

The RichTextArea control separates data model from the view by providing the model property. The base class for any data model is StyledTextModel. This abstract class provides no data storage, focusing instead on providing common functionality to the actual models, such as dealing with styled segments, keeping track of markers, sending events, etc.

This package provides a number of standard models are provided, each designed for a specific use case.

Incubating Feature. Will be removed in a future release.
Since
24

Interface Summary

Modifier and TypeInterface and Description
public interface
StyledInput

This interface represents a source of styled text segments for the purposes of pasting, importing, or loading from an input stream.

public interface
StyledOutput

Class represents a consumer of styled text segments for the purposes of exporting, copying, or saving to an output stream.

Class Summary

Modifier and TypeClass and Description
public class
BasicTextModel

A StyledTextModel based on plain text paragraphs.

public class
CodeTextModel

Editable plain text model with optional syntax highlighting for use with the CodeArea control.

public abstract class
ContentChange

Contains information about StyledTextModel content change.

public abstract class
DataFormatHandler

Facilitates import/export of styled text into/from a StyledTextModel.

public class
EmbeddedImage

An attribute which allows an image to be embedded into the RichTextModel.

public class
FileListFormatHandler

Facilitates importing of file lists into the RichTextModel.

public class
HtmlExportFormatHandler

This partial DataFormatHandler supports export of styled text in a simple HTML format.

public class
PlainTextFormatHandler

DataFormatHandler which operates with plain text.

public abstract class
RichParagraph

Represents a single immutable paragraph within the StyledModel.

public class
RichTextFormatHandler

A DataFormatHandler for use with attribute-based rich text models.

public class
RichTextModel

Editable, in-memory StyledTextModel based on a collection of styled segments.

public class
RtfFormatHandler

This DataFormatHandler provides export/import support for RTF format.

public class
SimpleViewOnlyStyledModel

A simple, view-only, in-memory, styled text model.

public abstract class
StyleAttribute<
the attribute value type
T
>

Style Attribute provides a way to specify style in the RichTextArea.

public class
StyleAttributeMap

This immutable object contains a map of StyleAttributes.

public abstract class
StyledSegment

Data structure used to modify the styled text model.

public abstract class
StyledTextModel

The base class for styled text models used by the RichTextArea.

public abstract class
StyledTextModelViewOnlyBase

The base class for view-only StyledTextModels.

public class
TabStops

Encapsulates the tab stop positions within a paragraph, in the form of an unmodifiable List.

Enum Summary

Modifier and TypeEnum and Description
public enum
ParagraphDirection

Paragraph direction attribute.