软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.text.rtf |
提供了一个类(
RTFEditorKit )创建富文本格式的文本编辑器。
|
Modifier and Type | Method and Description |
---|---|
protected StyledEditorKit |
JTextPane.getStyledEditorKit()
获取编辑器工具包。
|
Modifier and Type | Method and Description |
---|---|
protected StyledEditorKit |
StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e)
获取与编辑器窗格关联的编辑工具包。
|
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.