Provides the class
HTMLEditorKitand 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.
- HTML 3.2 Reference Specification - The HTML specification on which HTMLEditorKit is based.
Class Summary Class Description BlockViewA view implementation to display a block (as a box) with CSS specifications. CSSDefines a set of CSS attributes as a typesafe enumeration. CSS.AttributeDefinitions to be used as a key on AttributeSet's that might hold CSS attributes. FormSubmitEventFormSubmitEvent is used to notify interested parties that a form was submitted. FormViewComponent decorator that implements the view interface for form elements, <input>, <textarea>, and <select>. HTMLConstants used in the
HTML.AttributeTypesafe enumeration representing an HTML attribute. HTML.TagTypesafe enumeration for an HTML tag. HTML.UnknownTagClass represents unknown HTML tag. HTMLDocumentA document that models HTML. HTMLDocument.IteratorAn iterator to iterate over a particular type of tag. HTMLEditorKitThe Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit. HTMLEditorKit.HTMLFactoryA factory to build views for HTML. HTMLEditorKit.HTMLTextActionAn abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document. HTMLEditorKit.InsertHTMLTextActionInsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document. HTMLEditorKit.LinkControllerClass to watch the associated component and fire hyperlink events on it when appropriate. HTMLEditorKit.ParserInterface to be supported by the parser. HTMLEditorKit.ParserCallbackThe result of parsing drives these callback methods. HTMLFrameHyperlinkEventHTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame. HTMLWriterThis is a writer for HTMLDocuments. ImageViewView of an Image, intended to support the HTML <IMG> tag. InlineViewDisplays the inline element styles based upon css attributes. ListViewA view implementation to display an html list MinimalHTMLWriterMinimalHTMLWriter is a fallback writer used by the HTMLEditorKit to write out HTML for a document that is a not produced by the EditorKit. ObjectViewComponent decorator that implements the view interface for <object> elements. OptionValue for the ListModel used to represent <option> elements. ParagraphViewDisplays the a paragraph, and uses css attributes for its configuration. StyleSheetSupport for defining the visual characteristics of HTML views being rendered. StyleSheet.BoxPainterClass to carry out some of the duties of CSS formatting. StyleSheet.ListPainterClass to carry out some of the duties of CSS list formatting.
Enum Summary Enum Description FormSubmitEvent.MethodTypeRepresents an HTML form method type.