W3cubDocs

/OpenJDK 21

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

Since:
1.2
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 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.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/text/html/package-summary.html