JavaTM 2 Platform
Std. Ed. v1.4.2

Package javax.swing.text.html

Provides the class HTMLEditorKit and supporting classes for creating HTML text editors.

See:
          Description

Class Summary
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.
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  
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.
 

Package javax.swing.text.html Description

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 Threads and Swing, a section in The Java Tutorial.

Package Specification

Since:
1.2

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.