Top Description Classes
module org.jabref.htmltonode

Package org.jabref.htmltonode


Public API for rendering HTML as plain JavaFX nodes.

org.jabref.htmltonode.HtmlToNode is the entry point for one-shot parsing and rendering, org.jabref.htmltonode.HtmlView the bindable pane for reactive use. Rendering is configured via immutable org.jabref.htmltonode.HtmlRenderOptions; the intermediate document model lives in org.jabref.htmltonode.model.

Class Summary

Modifier and TypeClass and Description
public class
FxRenderer

Renders the block model into plain JavaFX nodes: paragraphs become TextFlows in a VBox, links become styled, clickable Text runs (they wrap mid-link like in a browser — no javafx.controls dependency), <mark>/background runs get real background shapes.

public class
HtmlRenderOptions

Rendering options.

public class
HtmlToNode

Entry point: converts HTML (the subset produced for JabRef's entry preview — citeproc-java CSL output, JabRef preview layouts, flexmark markdown, <mark> search highlights) into plain JavaFX nodes, with no dependency on javafx.web.

public class
HtmlView

A small pane that renders an HTML string as JavaFX nodes — the drop-in content for the ScrollPane that JabRef's PreviewViewer already is (instead of a WebView).