软件包 | 描述 |
---|---|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
Modifier and Type | Method and Description |
---|---|
static StyleContext |
StyleContext.getDefaultStyleContext()
返回默认的attributecontext都懒得定义/供应自己的上下文文件共享。
|
Constructor and Description |
---|
DefaultStyledDocument(AbstractDocument.Content c, StyleContext styles)
构建一个样式文档。
|
DefaultStyledDocument(StyleContext styles)
构造一个具有默认内容存储实现和一组共享样式的样式的文档。
|
Modifier and Type | Class and Description |
---|---|
class |
StyleSheet
用于定义HTML视图被渲染的视觉特性的支持。
|
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.