| Package | Description |
|---|---|
| javax.swing | |
| javax.swing.plaf | |
| javax.swing.plaf.basic | |
| javax.swing.plaf.multi | |
| javax.swing.text | |
| javax.swing.text.html | |
| javax.swing.text.rtf |
| Modifier and Type | Method and Description |
|---|---|
protected EditorKit |
JTextPane.createDefaultEditorKit()
Creates the
EditorKit to use by default. |
protected EditorKit |
JEditorPane.createDefaultEditorKit()
Creates the default editor kit (
PlainEditorKit) for when
the component is first created. |
static EditorKit |
JEditorPane.createEditorKitForContentType(String type)
Creates a handler for the given type from the default registry
of editor kits.
|
EditorKit |
JEditorPane.getEditorKit()
Fetches the currently installed kit for handling content.
|
EditorKit |
JEditorPane.getEditorKitForContentType(String type)
Fetches the editor kit to use for the given type
of content.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JTextPane.setEditorKit(EditorKit kit)
Sets the currently installed kit for handling
content.
|
void |
JEditorPane.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.
|
| Modifier and Type | Method and Description |
|---|---|
abstract EditorKit |
TextUI.getEditorKit(JTextComponent t)
Fetches the binding of services that set a policy
for the type of document being edited.
|
| Modifier and Type | Method and Description |
|---|---|
EditorKit |
BasicTextUI.getEditorKit(JTextComponent tc)
Fetches the EditorKit for the UI.
|
EditorKit |
BasicEditorPaneUI.getEditorKit(JTextComponent tc)
Fetches the EditorKit for the UI.
|
| Modifier and Type | Method and Description |
|---|---|
EditorKit |
MultiTextUI.getEditorKit(JTextComponent a)
Invokes the
getEditorKit method on each UI handled by this object. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultEditorKit
This is the set of things needed by a text component
to be a reasonably functioning editor for some type
of text document.
|
class |
StyledEditorKit
This is the set of things needed by a text component
to be a reasonably functioning editor for some type
of text document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HTMLEditorKit
The Swing JEditorPane text component supports different kinds
of content via a plug-in mechanism called an EditorKit.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RTFEditorKit
This is the default implementation of RTF editing
functionality.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.