APIdia Launch Partner
Top Description Classes
module java.desktop

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

Since
1.2
External Specification
https://www.w3.org/TR/REC-html32.html

Class Summary

Modifier and TypeClass and Description
pack-priv class
public class
BlockView

A view implementation to display a block (as a box) with CSS specifications.

pack-priv class
BRView

Processes the <BR> tag.

pack-priv class
CommentView

CommentView subclasses HiddenTagView to contain a JTextArea showing a comment.

public class
CSS

Defines a set of CSS attributes as a typesafe enumeration.

pack-priv class
CSSBorder

CSS-style borders for HTML elements.

pack-priv class
CSSParser

A CSS parser.

pack-priv class
EditableView

EditableView sets the view it contains to be visible only when the JTextComponent the view is contained in is editable.

public class
FormSubmitEvent

FormSubmitEvent is used to notify interested parties that a form was submitted.

public class
FormView

Component decorator that implements the view interface for form elements, <input>, <textarea>, and <select>.

pack-priv class
FrameSetView

Implements a FrameSetView, intended to support the HTML <FRAMESET> tag.

pack-priv class
FrameView

Implements a FrameView, intended to support the HTML <FRAME> tag.

pack-priv class
HiddenTagView

HiddenTagView subclasses EditableView to contain a JTextField showing the element name.

pack-priv class
HRuleView

A view implementation to display an html horizontal rule.

public class
HTML

Constants used in the HTMLDocument.

public class
HTMLDocument

A document that models HTML.

public class
HTMLEditorKit

The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit.

public class
HTMLFrameHyperlinkEvent

HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.

public class
HTMLWriter

This is a writer for HTMLDocuments.

public class
ImageView

View of an Image, intended to support the HTML <IMG> tag.

public class
InlineView

Displays the inline element styles based upon css attributes.

pack-priv class
IsindexView

A view that supports the <ISINDEX< tag.

pack-priv class
LineView

A view implementation to display an unwrapped preformatted line.

public class
ListView

A view implementation to display an html list

pack-priv class
Map

Map is used to represent a map element that is part of an HTML document.

public class
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.

pack-priv class
MuxingAttributeSet

An implementation of AttributeSet that can multiplex across a set of AttributeSets.

pack-priv class
NoFramesView

This is the view associated with the html tag NOFRAMES.

public class
ObjectView

Component decorator that implements the view interface for <object> elements.

public class
Option

Value for the ListModel used to represent <option> elements.

pack-priv class
OptionComboBoxModel<E>

OptionComboBoxModel extends the capabilities of the DefaultComboBoxModel, to store the Option that is initially marked as selected.

pack-priv class
OptionListModel<E>

This class extends DefaultListModel, and also implements the ListSelectionModel interface, allowing for it to store state relevant to a SELECT form element which is implemented as a List.

public class
ParagraphView

Displays the paragraph and uses CSS attributes for its configuration.

public class
StyleSheet

Support for defining the visual characteristics of HTML views being rendered.

pack-priv class
TableView

HTML table view.

pack-priv class
TextAreaDocument

TextAreaDocument extends the capabilities of the PlainDocument to store the data that is initially set in the Document.