软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.multi |
提供结合两个或多个外观和感觉的用户界面对象。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.text.rtf |
提供了一个类(
RTFEditorKit )创建富文本格式的文本编辑器。
|
Modifier and Type | Method and Description |
---|---|
protected EditorKit |
JEditorPane.createDefaultEditorKit()
创建默认的编辑器工具(
PlainEditorKit )当构件是第一个被创造出来的。
|
protected EditorKit |
JTextPane.createDefaultEditorKit()
创建
EditorKit 默认使用的。
|
static EditorKit |
JEditorPane.createEditorKitForContentType(String type)
从编辑器包的默认注册表创建给定类型的处理程序。
|
EditorKit |
JEditorPane.getEditorKit()
获取当前安装的套件内容处理。
|
EditorKit |
JEditorPane.getEditorKitForContentType(String type)
获取编辑套件使用给定的内容类型。
|
Modifier and Type | Method and Description |
---|---|
void |
JEditorPane.setEditorKit(EditorKit kit)
设置当前已安装的处理内容的工具包。
|
void |
JTextPane.setEditorKit(EditorKit kit)
设置当前已安装的处理内容的工具包。
|
void |
JEditorPane.setEditorKitForContentType(String type, EditorKit k)
直接设置给定类型的编辑器工具包。
|
Modifier and Type | Method and Description |
---|---|
abstract EditorKit |
TextUI.getEditorKit(JTextComponent t)
获取服务,设置为正在被编辑的文档类型政策的结合。
|
Modifier and Type | Method and Description |
---|---|
EditorKit |
BasicEditorPaneUI.getEditorKit(JTextComponent tc)
获取用于UI的editorkit。
|
EditorKit |
BasicTextUI.getEditorKit(JTextComponent tc)
获取用于UI的editorkit。
|
Modifier and Type | Method and Description |
---|---|
EditorKit |
MultiTextUI.getEditorKit(JTextComponent a)
调用该对象的每个UI处理
getEditorKit 方法。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultEditorKit
这是一个文本组件所需要的一组东西,是一个类型的文本文档的一个合理的功能编辑器。
|
class |
StyledEditorKit
这是一个文本组件所需要的一组东西,是一个类型的文本文档的一个合理的功能编辑器。
|
Modifier and Type | Class and Description |
---|---|
class |
HTMLEditorKit
摆jeditorpane文本组件支持不同种类的内容通过插件机制称为editorkit。
|
Modifier and Type | Class and Description |
---|---|
class |
RTFEditorKit
这是RTF编辑功能的默认实现。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.