Uses of Class
javax.swing.text.EditorKit
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects that combine two or more look and feels.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.Provides a class (
RTFEditorKit
) for creating Rich-Text-Format text
editors.-
Uses of EditorKit in javax.swing
Modifier and TypeMethodDescriptionprotected EditorKit
JEditorPane.createDefaultEditorKit()
Creates the default editor kit (PlainEditorKit
) for when the component is first created.protected EditorKit
JTextPane.createDefaultEditorKit()
Creates theEditorKit
to use by default.static EditorKit
JEditorPane.createEditorKitForContentType
(String type) Creates a handler for the given type from the default registry of editor kits.JEditorPane.getEditorKit()
Fetches the currently installed kit for handling content.JEditorPane.getEditorKitForContentType
(String type) Fetches the editor kit to use for the given type of content.Modifier and TypeMethodDescriptionvoid
JEditorPane.setEditorKit
(EditorKit kit) Sets the currently installed kit for handling content.final void
JTextPane.setEditorKit
(EditorKit kit) Sets the currently installed kit for handling content.void
JEditorPane.setEditorKitForContentType
(String type, EditorKit k) Directly sets the editor kit to use for the given type. -
Uses of EditorKit in javax.swing.plaf
Modifier and TypeMethodDescriptionabstract EditorKit
TextUI.getEditorKit
(JTextComponent t) Fetches the binding of services that set a policy for the type of document being edited. -
Uses of EditorKit in javax.swing.plaf.basic
Modifier and TypeMethodDescriptionBasicEditorPaneUI.getEditorKit
(JTextComponent tc) Fetches the EditorKit for the UI.BasicTextUI.getEditorKit
(JTextComponent tc) Fetches the EditorKit for the UI. -
Uses of EditorKit in javax.swing.plaf.multi
Modifier and TypeMethodDescriptionMultiTextUI.getEditorKit
(JTextComponent a) Invokes thegetEditorKit
method on each UI handled by this object. -
Uses of EditorKit in javax.swing.text
Modifier and TypeClassDescriptionclass
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.class
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document. -
Uses of EditorKit in javax.swing.text.html
Modifier and TypeClassDescriptionclass
The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit. -
Uses of EditorKit in javax.swing.text.rtf
Modifier and TypeClassDescriptionclass
This is the default implementation of RTF editing functionality.