public static interface AbstractDocument.AttributeContext
getAttributeContextメソッドを実装します。StyleContext| 修飾子と型 | メソッドと説明 |
|---|---|
AttributeSet |
addAttribute(AttributeSet old, Object name, Object value)
指定されたセットに属性を追加し、その新しいセットを返します。
|
AttributeSet |
addAttributes(AttributeSet old, AttributeSet attr)
属性セットを要素に追加します。
|
AttributeSet |
getEmptySet()
空の属性セットを取得します。
|
void |
reclaim(AttributeSet a)
属性セットを再生します。
|
AttributeSet |
removeAttribute(AttributeSet old, Object name)
セットから属性を削除します。
|
AttributeSet |
removeAttributes(AttributeSet old, AttributeSet attrs)
要素の属性セットを削除します。
|
AttributeSet |
removeAttributes(AttributeSet old, Enumeration<?> names)
要素の属性セットを削除します。
|
AttributeSet addAttribute(AttributeSet old, Object name, Object value)
old - 旧属性セットname - null以外の属性名value - 属性値MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
old - 旧属性セットattr - 追加する属性MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)AttributeSet removeAttribute(AttributeSet old, Object name)
old - 旧属性セットname - null以外の属性名MutableAttributeSet.removeAttribute(java.lang.Object)AttributeSet removeAttributes(AttributeSet old, Enumeration<?> names)
old - 旧属性セットnames - 属性名MutableAttributeSet.removeAttributes(java.util.Enumeration<?>)AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
old - 旧属性セットattrs - 属性MutableAttributeSet.removeAttributes(java.util.Enumeration<?>)AttributeSet getEmptySet()
void reclaim(AttributeSet a)
a - 再生する属性セット バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.