|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface Style
ドキュメント内の要素に関連した属性のコレクションです。こうした属性は文字および段落の書式を要素と関連付けるために使われるので、そのための処理が提供されます。要素に関連したほかのカスタマイズされた属性は、実際には階層に存在する名前と値のペアになり、名前 (キー) がローカルで見つからない場合、要求は親に転送されます。より効率的な代替の実装を容易にするために、共通して使用される属性は別に存在します。
| 入れ子のクラスの概要 |
|---|
| インタフェース javax.swing.text.AttributeSet から継承された入れ子のクラス/インタフェース |
|---|
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute |
| フィールドの概要 |
|---|
| インタフェース javax.swing.text.AttributeSet から継承されたフィールド |
|---|
NameAttribute, ResolveAttribute |
| メソッドの概要 | |
|---|---|
void |
addChangeListener(ChangeListener l)
属性が変更されている場合に変更を追跡するリスナーを追加します。 |
String |
getName()
書式の名前を取り出します。 |
void |
removeChangeListener(ChangeListener l)
属性の変更を追跡していたリスナーを削除します。 |
| インタフェース javax.swing.text.MutableAttributeSet から継承されたメソッド |
|---|
addAttribute, addAttributes, removeAttribute, removeAttributes, removeAttributes, setResolveParent |
| インタフェース javax.swing.text.AttributeSet から継承されたメソッド |
|---|
containsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEqual |
| メソッドの詳細 |
|---|
String getName()
null が返されます。
void addChangeListener(ChangeListener l)
l - 変更リスナーvoid removeChangeListener(ChangeListener l)
l - 変更リスナー
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。