Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.swing.text.html.HTMLDocument

Packages that use HTMLDocument
javax.swing.text.html | 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 HTMLDocument
`protected HTMLDocument` | `HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e)`

Methods in javax.swing.text.html with parameters of type HTMLDocument
`void` | `HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, java.lang.String html, int popDepth, int pushDepth, HTML.Tag insertTag)` Inserts HTML into an existing document.
`protected Element[]` | `HTMLEditorKit.HTMLTextAction.getElementsAt(HTMLDocument doc, int offset)` Returns an array of the Elements that contain `offset`.
`protected int` | `HTMLEditorKit.HTMLTextAction.elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)` Returns number of elements, starting at the deepest leaf, needed to get to an element representing `tag`.
`protected Element` | `HTMLEditorKit.HTMLTextAction.findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)` Returns the deepest element at `offset` matching `tag`.
`protected void` | `HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, java.lang.String html, int popDepth, int pushDepth, HTML.Tag addTag)` A cover for HTMLEditorKit.insertHTML.
`protected void` | `HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, java.lang.String html, HTML.Tag parentTag, HTML.Tag addTag)` This is invoked when inserting at a boundry.

Constructors in javax.swing.text.html with parameters of type HTMLDocument
`HTMLWriter.HTMLWriter(java.io.Writer w, HTMLDocument doc)` Creates a new HTMLWriter.
`HTMLWriter.HTMLWriter(java.io.Writer w, HTMLDocument doc, int pos, int len)` Creates a new HTMLWriter.
`HTMLDocument.HTMLReader.HTMLDocument.HTMLReader(int offset)`
`HTMLDocument.HTMLReader.HTMLDocument.HTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag)`
`HTMLDocument.RunElement.HTMLDocument.RunElement(Element parent, AttributeSet a, int offs0, int offs1)` Constructs an element that represents content within the document (has no children).
`HTMLDocument.BlockElement.HTMLDocument.BlockElement(Element parent, AttributeSet a)` Constructs a composite element that initially contains no children.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.