インタフェース
javax.swing.event.DocumentEvent.ElementChangeの使用
DocumentEvent.ElementChangeを使用するパッケージ
パッケージ
説明
Swingコンポーネントによってトリガーされるイベントを提供します。
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
-
javax.swing.eventでのDocumentEvent.ElementChangeの使用
-
javax.swing.textでのDocumentEvent.ElementChangeの使用
DocumentEvent.ElementChangeを実装しているjavax.swing.textのクラス修飾子と型メソッド説明要素の変更を取得します。型DocumentEvent.ElementChangeのパラメータを持つjavax.swing.textのメソッド修飾子と型メソッド説明protected voidBoxView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f) 指定されたDocumentEventを、モデルへの変更について通知する必要のある子ビューに転送します。protected voidView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f) 指定されたDocumentEventを、モデルへの変更について通知する必要のある子ビューに転送します。protected booleanView.updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f) モデルが変更されたという通知を受け取ると、子ビューを更新します。このビューが扱う要素の変更記録があります。protected booleanZoneView.updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f) スーパー・クラスの動作により、子ビューの更新が試みられます。ただし、子はゾーンであり、関連する要素の変更の影響を直接受けないため、この動作は適切ではありません。protected voidAsyncBoxView.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) モデルから変更の通知を受け取った場合に、レイアウトを更新します。protected voidView.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) モデルから変更の通知を受け取った場合に、レイアウトを更新します。