软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
javax.accessibility |
定义用户界面组件和提供对这些组件的访问的辅助技术之间的一个合同。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
TextComponent.AccessibleAWTTextComponent.getCharacterAttribute(int i)
返回一个给定字符的attributeset(在一个给定的指标)。
|
Modifier and Type | Field and Description |
---|---|
AttributeSet |
AccessibleAttributeSequence.attributes
文本属性
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
AccessibleText.getCharacterAttribute(int i)
返回一个给定的字符在一个给定的指标attributeset
|
Modifier and Type | Method and Description |
---|---|
void |
AccessibleEditableText.setAttributes(int startIndex, int endIndex, AttributeSet as)
设置两个索引之间的文本的属性。
|
Constructor and Description |
---|
AccessibleAttributeSequence(int start, int end, AttributeSet attr)
构建与给定的参数
AccessibleAttributeSequence 。
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
JSpinner.AccessibleJSpinner.getCharacterAttribute(int i)
返回一个给定的字符在一个给定的指标attributeset
|
AttributeSet |
ProgressMonitor.AccessibleProgressMonitor.getCharacterAttribute(int i)
返回一个给定的字符在一个给定的指标attributeset
|
AttributeSet |
JLabel.AccessibleJLabel.getCharacterAttribute(int i)
返回一个给定的字符在一个给定的指标attributeset
|
AttributeSet |
AbstractButton.AccessibleAbstractButton.getCharacterAttribute(int i)
返回一个给定的字符在一个给定的指标attributeset
|
AttributeSet |
JTextPane.getCharacterAttributes()
引进效果的人物属性在插入当前位置,或
null 。
|
AttributeSet |
JTextPane.getParagraphAttributes()
获取当前影响段落属性在插入符号的位置,或
null 如果没有。
|
Modifier and Type | Method and Description |
---|---|
void |
JSpinner.AccessibleJSpinner.setAttributes(int startIndex, int endIndex, AttributeSet as)
设置两个索引之间的文本的属性。
|
void |
JTextPane.setCharacterAttributes(AttributeSet attr, boolean replace)
将给定的属性应用于字符内容。
|
void |
JTextPane.setParagraphAttributes(AttributeSet attr, boolean replace)
将给定的属性应用到段落。
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableAttributeSet
一个可变集合的独特属性的通用接口。
|
interface |
Style
在文档中与元素关联的属性的集合。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocument.AbstractElement
实现元素的抽象部分。
|
class |
AbstractDocument.BranchElement
实现包含其他元素的复合元素。
|
class |
AbstractDocument.LeafElement
实现一个直接表示某种类型内容的元素。
|
protected class |
DefaultStyledDocument.SectionElement
用于文档的默认根元素…
|
class |
SimpleAttributeSet
一个简单的实现的MutableAttributeSet使用一个哈希表。
|
class |
StyleContext.NamedStyle
属性的集合,通常用来表示字符和段落样式。
|
class |
StyleContext.SmallAttributeSet
这个类在数组中拥有一个小的属性。
|
Modifier and Type | Field and Description |
---|---|
protected AttributeSet |
DefaultStyledDocument.AttributeUndoableEdit.copy |
static AttributeSet |
SimpleAttributeSet.EMPTY
一个空的属性集。
|
protected AttributeSet |
DefaultStyledDocument.AttributeUndoableEdit.newAttributes |
Modifier and Type | Method and Description |
---|---|
AttributeSet |
AbstractDocument.AttributeContext.addAttribute(AttributeSet old, Object name, Object value)
将一个属性添加到给定的集合中,并返回新的有代表性的集合。
|
AttributeSet |
StyleContext.addAttribute(AttributeSet old, Object name, Object value)
将一个属性添加到给定的集合中,并返回新的有代表性的集合。
|
AttributeSet |
AbstractDocument.AttributeContext.addAttributes(AttributeSet old, AttributeSet attr)
向元素添加一组属性。
|
AttributeSet |
StyleContext.addAttributes(AttributeSet old, AttributeSet attr)
向元素添加一组属性。
|
AttributeSet |
SimpleAttributeSet.copyAttributes()
做一个属性的副本。
|
AttributeSet |
AbstractDocument.AbstractElement.copyAttributes()
复制一组属性。
|
AttributeSet |
AttributeSet.copyAttributes()
返回一个保证不随时间变化的属性集。
|
AttributeSet |
StyleContext.SmallAttributeSet.copyAttributes()
复制一组属性。
|
AttributeSet |
StyleContext.NamedStyle.copyAttributes()
复制一组属性。
|
AttributeSet |
Element.getAttributes()
获取此元素的集合包含属性。
|
AttributeSet |
View.getAttributes()
读取属性时要使用的渲染。
|
AttributeSet |
AbstractDocument.AbstractElement.getAttributes()
获取元素的属性。
|
AttributeSet |
DefaultStyledDocument.ElementSpec.getAttributes()
获取元素属性。
|
AttributeSet |
JTextComponent.AccessibleJTextComponent.getCharacterAttribute(int i)
返回一个给定字符的attributeset(在一个给定的指标)。
|
AttributeSet |
AbstractDocument.AttributeContext.getEmptySet()
取一个空attributeset。
|
AttributeSet |
StyleContext.getEmptySet()
取一个空attributeset。
|
AttributeSet |
SimpleAttributeSet.getResolveParent()
获取解决父。
|
AttributeSet |
AbstractDocument.AbstractElement.getResolveParent()
获取解决父。
|
AttributeSet |
AttributeSet.getResolveParent()
获取解决父。
|
AttributeSet |
StyleContext.SmallAttributeSet.getResolveParent()
如果不修改,解决家长默认为父元素。
|
AttributeSet |
StyleContext.NamedStyle.getResolveParent()
从父获取属性。
|
AttributeSet |
AbstractDocument.AttributeContext.removeAttribute(AttributeSet old, Object name)
从集合中移除一个属性。
|
AttributeSet |
StyleContext.removeAttribute(AttributeSet old, Object name)
从集合中移除一个属性。
|
AttributeSet |
AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, AttributeSet attrs)
移除元素的一组属性。
|
AttributeSet |
StyleContext.removeAttributes(AttributeSet old, AttributeSet attrs)
移除元素的一组属性。
|
AttributeSet |
AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, Enumeration<?> names)
移除元素的一组属性。
|
AttributeSet |
StyleContext.removeAttributes(AttributeSet old, Enumeration<?> names)
移除元素的一组属性。
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
AbstractDocument.AttributeContext.addAttribute(AttributeSet old, Object name, Object value)
将一个属性添加到给定的集合中,并返回新的有代表性的集合。
|
AttributeSet |
StyleContext.addAttribute(AttributeSet old, Object name, Object value)
将一个属性添加到给定的集合中,并返回新的有代表性的集合。
|
void |
SimpleAttributeSet.addAttributes(AttributeSet attributes)
将一组属性添加到列表中。
|
void |
AbstractDocument.AbstractElement.addAttributes(AttributeSet attr)
向元素添加一组属性。
|
void |
MutableAttributeSet.addAttributes(AttributeSet attributes)
创建一个与此类似的新属性集,但它包含了给定的属性和值。
|
void |
StyleContext.NamedStyle.addAttributes(AttributeSet attr)
向元素添加一组属性。
|
AttributeSet |
AbstractDocument.AttributeContext.addAttributes(AttributeSet old, AttributeSet attr)
向元素添加一组属性。
|
AttributeSet |
StyleContext.addAttributes(AttributeSet old, AttributeSet attr)
向元素添加一组属性。
|
boolean |
SimpleAttributeSet.containsAttributes(AttributeSet attributes)
检查属性列表是否包含所有指定的名称/值对。
|
boolean |
AbstractDocument.AbstractElement.containsAttributes(AttributeSet attrs)
检查元素是否包含所有的属性。
|
boolean |
AttributeSet.containsAttributes(AttributeSet attributes)
返回
true 如果这集定义的所有属性的给定值相等。
|
boolean |
StyleContext.SmallAttributeSet.containsAttributes(AttributeSet attrs)
检查属性集是否包含给定的属性的所有属性。
|
boolean |
StyleContext.NamedStyle.containsAttributes(AttributeSet attrs)
检查元素是否包含所有的属性。
|
protected Element |
AbstractDocument.createBranchElement(Element parent, AttributeSet a)
创建一个文档分支元素,可以包含其他元素。
|
protected MutableAttributeSet |
StyleContext.createLargeAttributeSet(AttributeSet a)
创建一个大型的属性,应该权衡空间的时间。
|
protected Element |
AbstractDocument.createLeafElement(Element parent, AttributeSet a, int p0, int p1)
创建一个文档叶元素。
|
protected StyleContext.SmallAttributeSet |
StyleContext.createSmallAttributeSet(AttributeSet a)
创建一个紧凑的属性集,可能会被共享。
|
static int |
StyleConstants.getAlignment(AttributeSet a)
获取对齐设置。
|
static Color |
StyleConstants.getBackground(AttributeSet a)
从属性列表中获取背景颜色设置。
|
Color |
StyledDocument.getBackground(AttributeSet attr)
需要一组属性,并将其变成一个背景颜色规范。
|
Color |
DefaultStyledDocument.getBackground(AttributeSet attr)
从属性集获取背景颜色。
|
Color |
StyleContext.getBackground(AttributeSet attr)
需要一组属性,并将其变成一个背景颜色规范。
|
static int |
StyleConstants.getBidiLevel(AttributeSet a)
得到bidilevel设置。
|
static Component |
StyleConstants.getComponent(AttributeSet a)
从属性列表中获取组件设置。
|
static float |
StyleConstants.getFirstLineIndent(AttributeSet a)
获取第一行缩进的设置。
|
Font |
StyledDocument.getFont(AttributeSet attr)
需要一组属性,并将其变成一个字体规范。
|
Font |
DefaultStyledDocument.getFont(AttributeSet attr)
从属性集获取字体。
|
Font |
StyleContext.getFont(AttributeSet attr)
从属性集获取字体。
|
static String |
StyleConstants.getFontFamily(AttributeSet a)
从属性列表中获取字体族设置。
|
static int |
StyleConstants.getFontSize(AttributeSet a)
从属性列表中获取字体大小设置。
|
static Color |
StyleConstants.getForeground(AttributeSet a)
从属性列表中获取前景色设置。
|
Color |
StyledDocument.getForeground(AttributeSet attr)
需要一组属性,并将其变成一个前景颜色规范。
|
Color |
DefaultStyledDocument.getForeground(AttributeSet attr)
从属性集获取前景颜色。
|
Color |
StyleContext.getForeground(AttributeSet attr)
需要一组属性,并将其变成一个前景颜色规范。
|
static Icon |
StyleConstants.getIcon(AttributeSet a)
从属性列表中获取图标设置。
|
static float |
StyleConstants.getLeftIndent(AttributeSet a)
获取左缩进设置。
|
static float |
StyleConstants.getLineSpacing(AttributeSet a)
获取行间距设置。
|
static float |
StyleConstants.getRightIndent(AttributeSet a)
获取正确的缩进设置。
|
static float |
StyleConstants.getSpaceAbove(AttributeSet a)
获取设置以上的空间。
|
static float |
StyleConstants.getSpaceBelow(AttributeSet a)
获取设置的空间。
|
static TabSet |
StyleConstants.getTabSet(AttributeSet a)
得到tabset。
|
void |
DocumentFilter.insertString(DocumentFilter.FilterBypass fb, int offset, String string, AttributeSet attr)
在将文本插入到指定的文档之前调用。
|
void |
Document.insertString(int offset, String str, AttributeSet a)
插入一个内容字符串。
|
abstract void |
DocumentFilter.FilterBypass.insertString(int offset, String string, AttributeSet attr)
将指定的文本,绕过documentfilter。
|
void |
AbstractDocument.insertString(int offs, String str, AttributeSet a)
在文档中插入一些内容。
|
void |
PlainDocument.insertString(int offs, String str, AttributeSet a)
在文档中插入一些内容。
|
protected void |
AbstractDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
更新文本插入的结果文档结构。
|
protected void |
PlainDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
更新文本插入的结果文档结构。
|
protected void |
DefaultStyledDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
更新文本插入的结果文档结构。
|
static boolean |
StyleConstants.isBold(AttributeSet a)
检查是否设置了大胆的属性。
|
boolean |
SimpleAttributeSet.isEqual(AttributeSet attr)
比较两个属性集。
|
boolean |
AbstractDocument.AbstractElement.isEqual(AttributeSet attr)
检查两个属性集是否相等。
|
boolean |
AttributeSet.isEqual(AttributeSet attr)
确定两个属性集是否等价。
|
boolean |
StyleContext.SmallAttributeSet.isEqual(AttributeSet attr)
检查两个属性集是否相等。
|
boolean |
StyleContext.NamedStyle.isEqual(AttributeSet attr)
检查两个属性集是否相等。
|
static boolean |
StyleConstants.isItalic(AttributeSet a)
检查是否斜体属性设置。
|
static boolean |
StyleConstants.isStrikeThrough(AttributeSet a)
检查是否删除线属性设置。
|
static boolean |
StyleConstants.isSubscript(AttributeSet a)
检查下标属性是否设置。
|
static boolean |
StyleConstants.isSuperscript(AttributeSet a)
检查是否设置了上标属性。
|
static boolean |
StyleConstants.isUnderline(AttributeSet a)
检查下划线属性是否设置。
|
void |
AbstractDocument.AttributeContext.reclaim(AttributeSet a)
诚意回收一个属性集。
|
void |
StyleContext.reclaim(AttributeSet a)
返回一个集合不再由mutableattributeset执行需要。
|
AttributeSet |
AbstractDocument.AttributeContext.removeAttribute(AttributeSet old, Object name)
从集合中移除一个属性。
|
AttributeSet |
StyleContext.removeAttribute(AttributeSet old, Object name)
从集合中移除一个属性。
|
void |
SimpleAttributeSet.removeAttributes(AttributeSet attributes)
从列表中移除一组属性。
|
void |
AbstractDocument.AbstractElement.removeAttributes(AttributeSet attrs)
移除元素的一组属性。
|
void |
MutableAttributeSet.removeAttributes(AttributeSet attributes)
删除一组给定的
name 属性。
|
void |
StyleContext.NamedStyle.removeAttributes(AttributeSet attrs)
移除元素的一组属性。
|
AttributeSet |
AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, AttributeSet attrs)
移除元素的一组属性。
|
AttributeSet |
StyleContext.removeAttributes(AttributeSet old, AttributeSet attrs)
移除元素的一组属性。
|
AttributeSet |
AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, Enumeration<?> names)
移除元素的一组属性。
|
AttributeSet |
StyleContext.removeAttributes(AttributeSet old, Enumeration<?> names)
移除元素的一组属性。
|
void |
DocumentFilter.replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs)
在替换指定文档中的文本区域之前调用的。
|
abstract void |
DocumentFilter.FilterBypass.replace(int offset, int length, String string, AttributeSet attrs)
删除文本区域从
offset 到
offset + length ,与
text 取代它。
|
void |
AbstractDocument.replace(int offset, int length, String text, AttributeSet attrs)
删除文本区域从
offset 到
offset + length ,与
text 取代它。
|
void |
JTextComponent.AccessibleJTextComponent.setAttributes(int startIndex, int endIndex, AttributeSet as)
设置两个索引之间的文本的属性。
|
void |
StyledDocument.setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)
更改文档中现有内容的给定范围的内容元素属性。
|
void |
DefaultStyledDocument.setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)
设置文档的某一部分的属性。
|
protected void |
StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
将给定的属性应用于字符内容。
|
void |
StyledDocument.setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)
设置段落属性。
|
void |
DefaultStyledDocument.setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)
设置段落的属性。
|
protected void |
StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
将给定的属性应用到段落。
|
protected void |
CompositeView.setParagraphInsets(AttributeSet attr)
集从款镶在给定的属性指定属性。
|
void |
SimpleAttributeSet.setResolveParent(AttributeSet parent)
设置解决父。
|
void |
AbstractDocument.AbstractElement.setResolveParent(AttributeSet parent)
设置解决父。
|
void |
MutableAttributeSet.setResolveParent(AttributeSet parent)
设置解决父。
|
void |
StyleContext.NamedStyle.setResolveParent(AttributeSet parent)
设置解决父。
|
protected void |
AbstractWriter.writeAttributes(AttributeSet attr)
将属性集写为“
<名称>
=
<值>
”对。
值>
名称>
|
void |
StyleContext.writeAttributes(ObjectOutputStream out, AttributeSet a)
写出属性的上下文特定处理
|
static void |
StyleContext.writeAttributeSet(ObjectOutputStream out, AttributeSet a)
为序列化的目的,将一组属性写入给定的对象流中。
|
Constructor and Description |
---|
AbstractElement(Element parent, AttributeSet a)
创建一个新的”单元。
|
AttributeUndoableEdit(Element element, AttributeSet newAttributes, boolean isReplacing) |
BranchElement(Element parent, AttributeSet a)
构造一个初始不包含子元素的复合元素。
|
ElementSpec(AttributeSet a, short type)
当标记将不存储在文档中时,对标记有用的构造函数。
|
ElementSpec(AttributeSet a, short type, char[] txt, int offs, int len)
用于为文档的内容和标记的批输入创建外部规范的构造函数。
|
ElementSpec(AttributeSet a, short type, int len)
构造函数解析文档里面的数据已经被添加,但Len的信息是必要的。
|
LeafElement(Element parent, AttributeSet a, int offs0, int offs1)
构造一个表示文档中内容的元素(没有孩子)。
|
SimpleAttributeSet(AttributeSet source)
基于提供的属性集创建一个新的属性集。
|
SmallAttributeSet(AttributeSet attrs) |
Modifier and Type | Class and Description |
---|---|
class |
HTMLDocument.BlockElement
一个元素代表一个HTML的结构块。
|
class |
HTMLDocument.RunElement
一个元素代表一个块,一组HTML字符级属性分配给它的文本。
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
StyleSheet.addAttribute(AttributeSet old, Object key, Object value)
将一个属性添加到给定的集合中,并返回新的有代表性的集合。
|
AttributeSet |
StyleSheet.addAttributes(AttributeSet old, AttributeSet attr)
向元素添加一组属性。
|
AttributeSet |
BlockView.getAttributes()
读取属性时要使用的渲染。
|
AttributeSet |
InlineView.getAttributes()
读取属性时要使用的渲染。
|
AttributeSet |
ImageView.getAttributes()
读取属性时要使用的渲染。
|
AttributeSet |
ParagraphView.getAttributes()
读取属性时要使用的渲染。
|
abstract AttributeSet |
HTMLDocument.Iterator.getAttributes()
返回此标签的属性。
|
AttributeSet |
Option.getAttributes()
获取与此选项关联的属性。
|
AttributeSet |
StyleSheet.getDeclaration(String decl)
翻译一个CSS声明一个attributeset表示CSS声明。
|
AttributeSet |
HTMLDocument.RunElement.getResolveParent()
获取解决父。
|
AttributeSet |
HTMLDocument.BlockElement.getResolveParent()
获取解决父。
|
AttributeSet |
StyleSheet.getViewAttributes(View v)
取一组属性使用的视图中显示。
|
AttributeSet |
StyleSheet.removeAttribute(AttributeSet old, Object key)
从集合中移除一个属性。
|
AttributeSet |
StyleSheet.removeAttributes(AttributeSet old, AttributeSet attrs)
移除一组属性。
|
AttributeSet |
StyleSheet.removeAttributes(AttributeSet old, Enumeration<?> names)
移除元素的一组属性。
|
AttributeSet |
StyleSheet.translateHTMLToCSS(AttributeSet htmlAttrSet)
将一组HTML属性相当于设置CSS属性。
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
StyleSheet.addAttribute(AttributeSet old, Object key, Object value)
将一个属性添加到给定的集合中,并返回新的有代表性的集合。
|
AttributeSet |
StyleSheet.addAttributes(AttributeSet old, AttributeSet attr)
向元素添加一组属性。
|
protected void |
HTMLWriter.closeOutUnwantedEmbeddedTags(AttributeSet attr)
搜索属性集和存储在标签向量中的每个标记。
|
protected Element |
HTMLDocument.createBranchElement(Element parent, AttributeSet a)
创建一个文档分支元素,可以包含其他元素。
|
protected MutableAttributeSet |
StyleSheet.createLargeAttributeSet(AttributeSet a)
创建一个大的属性集,该属性应关闭时间空间。
|
protected Element |
HTMLDocument.createLeafElement(Element parent, AttributeSet a, int p0, int p1)
创建直接表示文本的文档叶元素(没有任何子元素)。
|
protected StyleContext.SmallAttributeSet |
StyleSheet.createSmallAttributeSet(AttributeSet a)
创建一个紧凑的属性集,可能共享。
|
Color |
StyleSheet.getBackground(AttributeSet a)
需要一组属性,并将其变成一个背景颜色规范。
|
StyleSheet.BoxPainter |
StyleSheet.getBoxPainter(AttributeSet a)
取盒格式化程序用于特定的CSS属性。
|
Font |
StyleSheet.getFont(AttributeSet a)
取字体使用给定的属性。
|
Color |
StyleSheet.getForeground(AttributeSet a)
需要一组属性,并将其变成一个前景颜色规范。
|
static int |
HTML.getIntegerAttributeValue(AttributeSet attr, HTML.Attribute key, int def)
取一个整数属性值。
|
StyleSheet.ListPainter |
StyleSheet.getListPainter(AttributeSet a)
获取列表格式化程序用于特定的CSS属性。
|
protected void |
HTMLDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
更新文本插入的结果文档结构。
|
protected boolean |
HTMLWriter.isBlockTag(AttributeSet attr)
确定HTML标签与元素相关联的是一块标记。
|
protected boolean |
HTMLWriter.matchNameAttribute(AttributeSet attr, HTML.Tag tag)
如果styleconstants.nameattribute等于作为参数传入的标签返回true。
|
AttributeSet |
StyleSheet.removeAttribute(AttributeSet old, Object key)
从集合中移除一个属性。
|
AttributeSet |
StyleSheet.removeAttributes(AttributeSet old, AttributeSet attrs)
移除一组属性。
|
AttributeSet |
StyleSheet.removeAttributes(AttributeSet old, Enumeration<?> names)
移除元素的一组属性。
|
protected void |
HTMLWriter.selectContent(AttributeSet attr)
写出选择窗体元素的内容。
|
void |
HTMLDocument.setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)
设置段落的属性。
|
protected void |
HTMLWriter.textAreaContent(AttributeSet attr)
写出来的,是包含在一个文本形式的元素文本。
|
AttributeSet |
StyleSheet.translateHTMLToCSS(AttributeSet htmlAttrSet)
将一组HTML属性相当于设置CSS属性。
|
protected void |
HTMLWriter.writeAttributes(AttributeSet attr)
写出属性集。
|
protected void |
MinimalHTMLWriter.writeAttributes(AttributeSet attr)
写出所有以下类型的属性:styleconstants.paragraphconstants,styleconstants.characterconstants,styleconstants.fontconstants,styleconstants.colorconstants。
|
protected void |
HTMLWriter.writeEmbeddedTags(AttributeSet attr)
在attributeset嵌入式标签搜索和写出来。
|
protected void |
MinimalHTMLWriter.writeHTMLTags(AttributeSet attr)
生成粗体
,斜体 标签,并根据其属性设置文本。
|
protected void |
MinimalHTMLWriter.writeNonHTMLAttributes(AttributeSet attr)
写出剩余的字符级别的属性(属性以外的粗体,斜体,下划线)在HTML兼容的方式。
|
Constructor and Description |
---|
BlockElement(Element parent, AttributeSet a)
构造一个初始不包含子元素的复合元素。
|
Option(AttributeSet attr)
创建一个新的选项对象。
|
RunElement(Element parent, AttributeSet a, int offs0, int offs1)
构造一个表示文档中内容的元素(没有孩子)。
|
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.