EditableStyledDocument.
The base area is org.. 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). org. uses java.-only segments,
and styling them are already supported in the two most common ways via
org. and org..
For those looking to use a base for a code editor, see org..
For text fields there is org. using java.-only segments,
and styling them are also already supported in the two most common ways via
org. and org..
org.fxmisc.richtext.model.EditableStyledDocument , org.fxmisc.richtext.model.TwoDimensional , org.fxmisc.richtext.model.TwoDimensional.Bias , org.fxmisc.richtext.GenericStyledArea , org.fxmisc.richtext.TextEditingArea , org.fxmisc.richtext.Caret , org.fxmisc.richtext.Selection
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Caret
An object for encapsulating a caret in a given area. |
| public interface | CaretSelectionBind<
type for PS, StyledDocument's paragraph style; only necessary when using the "selectedDocument"
getter or propertytype for SEG, StyledDocument's segment type; only necessary when using the "selectedDocument"
getter or propertytype for S>StyledDocument's segment style; only necessary when using the "selectedDocument"
getter or propertyAn object for encapsulating a caret and a selection in a given area where the caret and selection are bound to one another. |
| public interface | |
| public interface | |
| public interface | NavigationActions<PS, SEG, S>
Specifies actions for moving the caret and/or making a selection for a |
| public interface | Selection<
type for PS, StyledDocument's paragraph style; only necessary when using the "selectedDocument"
getter or propertytype for SEG, StyledDocument's segment type; only necessary when using the "selectedDocument"
getter or propertytype for S>StyledDocument's segment style; only necessary when using the "selectedDocument"
getter or propertyAn object for encapsulating a selection in a given area. |
| public interface | StyleActions<
the paragraph style PS, the segment's style S>Specifies actions related to getting and setting styles throughout a |
| public interface | TextEditingArea<PS, SEG,
type of style that can be applied to text. S>Interface for a text editing control. |
| public interface | UndoActions
Undo/redo actions for |
| public interface | ViewActions<
paragraph style type PS, segment type SEG, segment style type S>Specifies view-related API for a |
| Modifier and Type | Class and Description |
|---|---|
| public class | BackgroundPath
A path which describes a background shape in the Scene graph. |
| public class | BorderPath
A path which describes a border in the Scene graph. |
| public class | |
| pack-priv class | |
| public class | 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. the area, a paragraph in the area, a line on a paragraph). |
| pack-priv class | |
| public class | CodeArea
A convenience subclass of |
| public class | CustomCssMetaData<S extends Styleable, V>
Reduces boilerplate when creating a custom |
| public class | CustomStyleableProperty<T>
Reduces the boilerplate when creating a custom CSS property (i.e. |
| public class | GenericStyledArea<
type of style that can be applied to paragraphs (e.g. PS, SEG, TextFlow.type of style that can be applied to a segment. S>Text editing control that renders and edits a |
| pack-priv class | GenericStyledAreaBehavior
Controller for GenericStyledArea. |
| public class | InlineCssTextArea
Text area that uses inline css to define style of text segments and paragraphs. |
| public class | InlineCssTextField
A TextField that uses inline CSS, i.e. |
| public class | LineNumberFactory<PS>
Graphic factory that produces labels containing line numbers and a "+" to indicate folded paragraphs. |
| pack-priv class | |
| public class | MultiChangeBuilder<PS, SEG, S>
Constructs a list of |
| pack-priv class | ParagraphBox<
paragraph style type PS, segment type SEG, segment style type S>Node responsible for rendering a single paragraph in the viewport, which may include a paragraph graphic factory
(an |
| pack-priv class | ParagraphText<
paragraph style type PS, segment type SEG, segment style type S>The class responsible for rendering the segments in an paragraph. |
| public class | |
| public class | 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. |
| public class | StyleClassedTextArea
Text area that uses style classes to define style of text segments and paragraph segments. |
| public class | StyleClassedTextField
A TextField that uses style classes, i.e. |
| public class | StyledTextArea<
type of paragraph style PS, type of style that can be applied to text. S>A |
| public abstract class | StyledTextField<
type of paragraph style PS, type of style that can be applied to text. S>A text field whose segment generic has been specified to be a |
| public class | |
| pack-priv class | TextFlowExt
Adds additional API to |
| pack-priv class | |
| pack-priv class | |
| public class | UnderlinePath
A path which describes an underline in the Scene graph. |