org.fxmisc.richtext.model.GenericEditableStyledDocument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of richtextfx Show documentation
Show all versions of richtextfx Show documentation
FX-Text-Area for formatted text and other special effects.
package org.fxmisc.richtext.model;
/**
* Provides a basic implementation of {@link EditableStyledDocument} while still allowing a developer to specify its
* generics. See {@link SimpleEditableStyledDocument} for a version that specifies its segment style to {@link String}.
*
* @param type of style that can be applied to paragraphs (e.g. {@link javafx.scene.text.TextFlow}.
* @param type of segment used in {@link Paragraph}. Can be only {@link org.fxmisc.richtext.TextExt text}
* (plain or styled) or a type that combines text and other {@link javafx.scene.Node}s via
* {@code Either}.
* @param type of style that can be applied to a segment.
*/
public final class GenericEditableStyledDocument extends GenericEditableStyledDocumentBase
implements EditableStyledDocument {
public GenericEditableStyledDocument(PS initialParagraphStyle, S initialStyle, SegmentOps segmentOps) {
super(initialParagraphStyle, initialStyle, segmentOps);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy