All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fxmisc.richtext.model.GenericEditableStyledDocument Maven / Gradle / Ivy

There is a newer version: 1.11
Show newest version
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