[10:7] extends: Node, Control, Region
Represents a JavaFX HTML editor component, allowing for rich text editing and formatting. The HtmlEditor class provides an interface to edit HTML-formatted text. It extends Node, Control, and Region, and offers methods for setting and retrieving HTML content.
HtmlEditor ()
Initializes a new HtmlEditor instance. This constructor creates a JavaFX HTMLEditor object and assigns it to this.obj.
this
objectsetHtmlText (string HtmlText
)
Sets the HTML content of the editor. Allows the user to input or update the current HTML text displayed in the editor.
HtmlText
The HTML-formatted string to set in the editor.this
object for chaininggetHtmlText ()
Retrieves the current HTML content of the editor. Returns the HTML-formatted text that is currently in the editor.
string
The current HTML text displayed in the editor.