EditableStyledDocument
.
The base area is GenericStyledArea
. Those unfamiliar with this
project should read through its javadoc. This class should be used for custom segments (e.g. text and images
in the same area). StyledTextArea
uses String
-only segments,
and styling them are already supported in the two most common ways via
StyleClassedTextArea
and InlineCssTextArea
.
For those looking to use a base for a code editor, see CodeArea
.
For text fields there is StyledTextField
using String
-only segments,
and styling them are also already supported in the two most common ways via
StyleClassedTextField
and InlineCssTextField
.
EditableStyledDocument
,
TwoDimensional
,
TwoDimensional.Bias
,
GenericStyledArea
,
TextEditingArea
,
Caret
,
Selection
Interface | Description |
---|---|
Caret |
An object for encapsulating a caret in a given area.
|
CaretSelectionBind<PS,SEG,S> |
An object for encapsulating a caret and a selection in a given area where the caret and selection are bound
to one another.
|
ClipboardActions<PS,SEG,S> |
Clipboard actions for
TextEditingArea . |
EditActions<PS,SEG,S> |
Specifies actions for editing the content of a
TextEditingArea . |
NavigationActions<PS,SEG,S> |
Specifies actions for moving the caret and/or making a selection for a
TextEditingArea . |
Selection<PS,SEG,S> |
An object for encapsulating a selection in a given area.
|
StyleActions<PS,S> |
Specifies actions related to getting and setting styles throughout a
TextEditingArea . |
TextEditingArea<PS,SEG,S> |
Interface for a text editing control.
|
UndoActions |
Undo/redo actions for
TextEditingArea . |
ViewActions<PS,SEG,S> |
Specifies view-related API for a
TextEditingArea |
Class | Description |
---|---|
BackgroundPath |
A path which describes a background shape in the Scene graph.
|
BorderPath |
A path which describes a border in the Scene graph.
|
CaretNode |
Default implementation for a
Caret . |
CharacterHit |
Object that stores information relating to the position in an area's content that corresponds to a given position
in some visible entity (e.g.
|
CodeArea |
A convenience subclass of
StyleClassedTextArea with fixed-width font and an undo manager that observes
only plain text changes (not styled changes). |
CustomCssMetaData<S extends javafx.css.Styleable,V> |
Reduces boilerplate when creating a custom
CssMetaData object |
CustomStyleableProperty<T> |
Reduces the boilerplate when creating a custom CSS property (i.e.
|
GenericStyledArea<PS,SEG,S> |
Text editing control that renders and edits a
EditableStyledDocument . |
InlineCssTextArea |
Text area that uses inline css to define style of text segments and paragraphs.
|
InlineCssTextField |
A TextField that uses inline CSS, i.e.
|
JavaFXCompatibility |
Uses reflection to make this project's code work on Java 8 and Java 9 in a single jar
|
LineNumberFactory |
Graphic factory that produces labels containing line numbers.
|
MultiChangeBuilder<PS,SEG,S> |
Constructs a list of
Replacement s that are used to update an
EditableStyledDocument in one call via MultiChangeBuilder.commit() . |
SelectionImpl<PS,SEG,S> |
Default implementation for
Selection . |
SelectionPath |
A Path used to render a portion of a mulit-paragraph selection or all of a single-paragraph selection
with additional CSS styling; it does not have a style class associated with it.
|
StyleClassedTextArea |
Text area that uses style classes to define style of text segments and paragraph segments.
|
StyleClassedTextField |
A TextField that uses style classes, i.e.
|
StyledTextArea<PS,S> |
A
GenericStyledArea whose segment generic has been specified to be a String . |
StyledTextField<PS,S> |
A text field whose segment generic has been specified to be a
String . |
TextExt |
A class which adds some more RichTextFX-specific styleable properties to JavaFX's
Text class. |
UnderlinePath |
A path which describes an underline in the Scene graph.
|
Enum | Description |
---|---|
Caret.CaretVisibility |
Determines whether the caret is visible.
|
NavigationActions.SelectionPolicy |
Indicates how to treat selection when caret is moved.
|
Selection.Direction |
Specifies whether to update the start/end value of a selection to the left (towards 0) or right (away from 0)
|