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 HTMLDocument
HTMLEditorKit.HTMLTextAction. getHTMLDocument(JEditorPane e)
Methods in javax.swing.text.html with parameters of type HTMLDocument Modifier and Type 方法 描述 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
的元素的数组。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 Constructor 描述 HTMLWriter(Writer w, HTMLDocument doc)
创建一个新的HTMLWriter。HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)
创建一个新的HTMLWriter。
-