软件包 | 描述 |
---|---|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocument.BranchElement
实现包含其他元素的复合元素。
|
class |
AbstractDocument.LeafElement
实现一个直接表示某种类型内容的元素。
|
protected class |
DefaultStyledDocument.SectionElement
用于文档的默认根元素…
|
Modifier and Type | Method and Description |
---|---|
protected AbstractDocument.AbstractElement |
PlainDocument.createDefaultRoot()
创建用于表示默认文档结构的根元素。
|
protected AbstractDocument.AbstractElement |
DefaultStyledDocument.createDefaultRoot()
创建用于表示默认文档结构的根元素。
|
Modifier and Type | Class and Description |
---|---|
class |
HTMLDocument.BlockElement
一个元素代表一个HTML的结构块。
|
class |
HTMLDocument.RunElement
一个元素代表一个块,一组HTML字符级属性分配给它的文本。
|
Modifier and Type | Method and Description |
---|---|
protected AbstractDocument.AbstractElement |
HTMLDocument.createDefaultRoot()
创建用于表示默认文档结构的根元素。
|
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.