JavaTM 2 Platform
Std. Ed. v1.3

インタフェース
javax.swing.event.DocumentListener の使用

DocumentListener を使用しているパッケージ
javax.swing すべてのプラットフォームで可能な限り同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.text 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 
 

javax.swing での DocumentListener の使用
 

DocumentListener を実装している javax.swing のクラス
protected  class JEditorPane.AccessibleJEditorPane
          このクラスは JEditorPane クラス用のユーザ補助機能のサポートを実装しています。
protected  class JEditorPane.AccessibleJEditorPaneHTML
          このクラスは AccessibleHypertext のサポートを提供し、JEditorPane にインストールされた EditorKitHTMLEditorKit のインスタンスである場合のインスタンスで使用されます。
protected  class JEditorPane.JEditorPaneAccessibleHypertextSupport
          AccessibleJEditorPaneHTML.getAccessibleText によって返されるものを取得します。
protected  class JPasswordField.AccessibleJPasswordField
          このクラスは JPasswordField クラス用のユーザ補助機能のサポートを実装しています。
protected  class JTextArea.AccessibleJTextArea
          このクラスは JTextArea クラス用のユーザ補助機能のサポートを実装しています。
protected  class JTextField.AccessibleJTextField
          このクラスは JTextField クラス用のユーザ補助機能のサポートを実装しています。
 

javax.swing.text での DocumentListener の使用
 

DocumentListener を実装している javax.swing.text のクラス
 class JTextComponent.AccessibleJTextComponent
          このクラスは JTextComponent クラス用のユーザ補助機能のサポートを実装しています。
 

DocumentListener 型のパラメータを持つ javax.swing.text のメソッド
 void Document.addDocumentListener(DocumentListener listener)
          ドキュメントに変更が加えられたときに通知の受信を開始するように、指定されたオブザーバを登録します。
 void Document.removeDocumentListener(DocumentListener listener)
          指定されたオブザーバを通知リストから登録解除して、それ以上変更の更新を受信しないようにします。
 void AbstractDocument.addDocumentListener(DocumentListener listener)
          ドキュメントリスナーを追加し、変更があったときに通知されるようにします。
 void AbstractDocument.removeDocumentListener(DocumentListener listener)
          リスナーを削除します。
 void DefaultStyledDocument.addDocumentListener(DocumentListener listener)
          ドキュメントリスナーを追加し、変更があったときに通知されるようにします。
 void DefaultStyledDocument.removeDocumentListener(DocumentListener listener)
          リスナーを削除します。
 


JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.