Module java.desktop

# Package javax.swing.text.html

package javax.swing.text.html
Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.

Note: Most of the Swing API is not thread safe. For details, see Concurrency in Swing, a section in The Java Tutorial.

## Package Specification

- HTML 3.2 Reference Specification - The HTML specification on which HTMLEditorKit is based.

Since:
  1.2

Related Packages
Package
Description
javax.swing.text
Provides classes and interfaces that deal with editable and noneditable text components.
javax.swing.text.html.parser
Provides the default HTML parser, along with support classes.
javax.swing.text.rtf
Provides a class (`RTFEditorKit`) for creating Rich-Text-Format text editors.
Class
Description
BlockView
A view implementation to display a block (as a box) with CSS specifications.
CSS
Defines a set of CSS attributes as a typesafe enumeration.
CSS.Attribute
Definitions to be used as a key on AttributeSet's that might hold CSS attributes.
FormSubmitEvent
FormSubmitEvent is used to notify interested parties that a form was submitted.
FormSubmitEvent.MethodType
Represents an HTML form method type.
FormView
Component decorator that implements the view interface for form elements, <input>, <textarea>, and <select>.
HTML
Constants used in the `HTMLDocument`.
HTML.Attribute
Typesafe enumeration representing an HTML attribute.
HTML.Tag
Typesafe enumeration for an HTML tag.
HTML.UnknownTag
Class represents unknown HTML tag.
HTMLDocument
A document that models HTML.
HTMLDocument.Iterator
An iterator to iterate over a particular type of tag.
HTMLEditorKit
The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit.
HTMLEditorKit.HTMLFactory
A factory to build views for HTML.
HTMLEditorKit.HTMLTextAction
An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.
HTMLEditorKit.InsertHTMLTextAction
InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document.
HTMLEditorKit.LinkController
Class to watch the associated component and fire hyperlink events on it when appropriate.
HTMLEditorKit.Parser
Interface to be supported by the parser.
HTMLEditorKit.ParserCallback
The result of parsing drives these callback methods.
HTMLFrameHyperlinkEvent
HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.
HTMLWriter
This is a writer for HTMLDocuments.
ImageView
View of an Image, intended to support the HTML <IMG> tag.
InlineView
Displays the inline element styles based upon css attributes.
ListView
A view implementation to display an html list
MinimalHTMLWriter
MinimalHTMLWriter is a fallback writer used by the HTMLEditorKit to write out HTML for a document that is a not produced by the EditorKit.
ObjectView
Component decorator that implements the view interface for <object> elements.
Option
Value for the ListModel used to represent <option> elements.
ParagraphView
Displays the a paragraph, and uses css attributes for its configuration.
StyleSheet
Support for defining the visual characteristics of HTML views being rendered.
StyleSheet.BoxPainter
Class to carry out some of the duties of CSS formatting.
StyleSheet.ListPainter
Class to carry out some of the duties of CSS list formatting.