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 变量和类型 方法 描述 protected HTMLDocumentHTMLEditorKit.HTMLTextAction. getHTMLDocument(JEditorPane e)Methods in javax.swing.text.html with parameters of type HTMLDocument 变量和类型 方法 描述 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的Elements数组。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 构造器 描述 HTMLWriter(Writer w, HTMLDocument doc)创建一个新的HTMLWriter。HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)创建一个新的HTMLWriter。
-