Uses of Class
javax.swing.text.html.HTMLDocument
-
Packages that use HTMLDocument 软件包 描述 javax.swing.text.html 提供类HTMLEditorKit和支持类创建HTML文本编辑器。 -
-
Uses of HTMLDocument in javax.swing.text.html
Methods in javax.swing.text.html that return HTMLDocument Modifier and Type 方法 描述 protected HTMLDocumentHTMLEditorKit.HTMLTextAction. getHTMLDocument(JEditorPane e)Methods in javax.swing.text.html with parameters of type HTMLDocument Modifier and Type 方法 描述 protected intHTMLEditorKit.HTMLTextAction. elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)返回元素数,从最深的叶开始,需要转到表示tag的元素。protected ElementHTMLEditorKit.HTMLTextAction. findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)返回offset匹配tag最深的元素。protected Element[]HTMLEditorKit.HTMLTextAction. getElementsAt(HTMLDocument doc, int offset)返回一个包含offset的元素的数组。protected voidHTMLEditorKit.InsertHTMLTextAction. insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)在插入边界时调用这一点。protected voidHTMLEditorKit.InsertHTMLTextAction. insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)已过时。从Java 2平台v1.3开始,使用insertAtBoundaryvoidHTMLEditorKit. insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)将HTML插入到现有文档中。protected voidHTMLEditorKit.InsertHTMLTextAction. insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)HTMLEditorKit.insertHTML的封面。Constructors in javax.swing.text.html with parameters of type HTMLDocument Constructor 描述 HTMLWriter(Writer w, HTMLDocument doc)创建一个新的HTMLWriter。HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)创建一个新的HTMLWriter。
-