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 HTMLDocument
HTMLEditorKit.HTMLTextAction. getHTMLDocument(JEditorPane e)
Methods in javax.swing.text.html with parameters of type HTMLDocument 变量和类型 方法 描述 protected int
HTMLEditorKit.HTMLTextAction. elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)
返回从最深叶开始的元素数,以获取表示tag
的元素。protected Element
HTMLEditorKit.HTMLTextAction. findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)
返回offset
匹配tag
的最深元素。protected Element[]
HTMLEditorKit.HTMLTextAction. getElementsAt(HTMLDocument doc, int offset)
返回包含offset
的Elements数组。protected void
HTMLEditorKit.InsertHTMLTextAction. insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
在边界处插入时调用此方法。protected void
HTMLEditorKit.InsertHTMLTextAction. insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
已过时。从Java 2平台v1.3开始,使用insertAtBoundaryvoid
HTMLEditorKit. insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
将HTML插入现有文档。protected void
HTMLEditorKit.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。
-