|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
ドキュメントの変更を通知するためのインタフェースです。
内部クラスの概要 | |
static interface |
DocumentEvent.ElementChange
要素に対して加えられた変更を記述します。 |
static class |
DocumentEvent.EventType
ドキュメントイベント型の型保証された列挙です。 |
メソッドの概要 | |
DocumentEvent.ElementChange |
getChange(Element elem)
指定された要素の変更情報を取得します。 |
Document |
getDocument()
変更イベントの基となったドキュメントを取得します。 |
int |
getLength()
変更の長さを返します。 |
int |
getOffset()
変更の始点のドキュメント内でのオフセットを返します。 |
DocumentEvent.EventType |
getType()
イベントの型を取得します。 |
メソッドの詳細 |
public int getOffset()
public int getLength()
public Document getDocument()
public DocumentEvent.EventType getType()
public DocumentEvent.ElementChange getChange(Element elem)
elem
- 要素
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |