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


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 submited. 
FormView Component decorator that implements the view interface for form elements, <input>, <textarea>, and <select>. 
FormView.MouseEventListener MouseEventListener class to handle form submissions when an input with type equal to image is clicked on. 
HTML Constants used in the HTMLDocument
HTML.Attribute Typesafe enumeration representing an HTML attribute. 
HTML.Tag Typesafe enumeration for an HTML tag. 
HTMLDocument A document that models HTML. 
HTMLDocument.BlockElement An element that represents a structural block of HTML. 
HTMLDocument.HTMLReader An HTML reader to load an HTML document with an HTML element structure. 
HTMLDocument.HTMLReader.FormAction Action to support forms by building all of the elements used to represent form controls. 
HTMLDocument.HTMLReader.TagAction An action to be performed in response to parsing a tag. 
HTMLDocument.Iterator An iterator to iterate over a particular type of tag. 
HTMLDocument.RunElement An element that represents a chunk of text that has a set of HTML character level attributes assigned to it. 
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. 


FormSubmitEvent.MethodType Represents an HTML form method type.