Uses of Class
javax.swing.text.html.HTMLDocument
Packages that use HTMLDocument
Package
Description
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors.-
Uses of HTMLDocument in javax.swing.text.html
Methods in javax.swing.text.html that return HTMLDocumentModifier and TypeMethodDescriptionprotected HTMLDocumentHTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e) ReturnsHTMLDocumentof the givenJEditorPane.Methods in javax.swing.text.html with parameters of type HTMLDocumentModifier and TypeMethodDescriptionprotected intHTMLEditorKit.HTMLTextAction.elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag) Returns number of elements, starting at the deepest leaf, needed to get to an element representingtag.protected ElementHTMLEditorKit.HTMLTextAction.findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag) Returns the deepest element atoffsetmatchingtag.protected Element[]HTMLEditorKit.HTMLTextAction.getElementsAt(HTMLDocument doc, int offset) Returns an array of the Elements that containoffset.protected voidHTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag) This is invoked when inserting at a boundary.protected voidHTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag) Deprecated.As of Java 2 platform v1.3, use insertAtBoundaryvoidHTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag) Inserts HTML into an existing document.protected voidHTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag) A cover for HTMLEditorKit.insertHTML.Constructors in javax.swing.text.html with parameters of type HTMLDocumentModifierConstructorDescriptionHTMLWriter(Writer w, HTMLDocument doc) Creates a new HTMLWriter.HTMLWriter(Writer w, HTMLDocument doc, int pos, int len) Creates a new HTMLWriter.