JavaTM Platform
Standard Ed. 6

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

ListDataListener を使用しているパッケージ
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.plaf.basic 基本 Look & Feel に従って構築されたユーザーインタフェースオブジェクトを提供します。 
 

javax.swing での ListDataListener の使用
 

ListDataListener を実装している javax.swing のクラス
 class JComboBox
          ボタン、または編集可能フィールドとドロップダウンリストを組み合わせたコンポーネントです。
protected  class JList.AccessibleJList
          このクラスは JList クラス用のアクセシビリティーサポートを実装しています。
 

ListDataListener を返す javax.swing のメソッド
 ListDataListener[] AbstractListModel.getListDataListeners()
          この AbstractListModel に登録されているすべてのリストデータリスナーの配列を返します。
 

ListDataListener 型のパラメータを持つ javax.swing のメソッド
 void ListModel.addListDataListener(ListDataListener l)
          データモデル変更時の通知対象リストにリスナーを追加します。
 void AbstractListModel.addListDataListener(ListDataListener l)
          データモデル変更時の通知対象リストにリスナーを追加します。
 void ListModel.removeListDataListener(ListDataListener l)
          データモデル変更時の通知対象リストからリスナーを削除します。
 void AbstractListModel.removeListDataListener(ListDataListener l)
          データモデル変更時の通知対象リストからリスナーを削除します。
 

javax.swing.plaf.basic での ListDataListener の使用
 

ListDataListener を実装している javax.swing.plaf.basic のクラス
 class BasicComboBoxUI.ListDataHandler
          このリスナーは、ComboBoxModel 内での変更を監視します。
 class BasicComboPopup.ListDataHandler
          1.4 からこのクラスは廃止され、何も行わず、API 下位互換だけのために組み込まれています。
 class BasicListUI.ListDataHandler
          installUI の実行時、および JList.model プロパティーの変更時に、JList モデルに追加される ListDataListener です。
 

ListDataListener として宣言されている javax.swing.plaf.basic のフィールド
protected  ListDataListener BasicComboBoxUI.listDataListener
          この protected フィールドは実装固有のものです。
protected  ListDataListener BasicComboPopup.listDataListener
          この protected フィールドは実装固有のものです。
protected  ListDataListener BasicListUI.listDataListener
           
 

ListDataListener を返す javax.swing.plaf.basic のメソッド
protected  ListDataListener BasicComboBoxUI.createListDataListener()
          ComboBoxModel に追加されるリストデータリスナーを作成します。
protected  ListDataListener BasicComboPopup.createListDataListener()
          ComboBoxModel に追加されるリストデータリスナーを作成します。
protected  ListDataListener BasicListUI.createListDataListener()
          モデルによって必要に応じて JList に追加される、ListDataListener のインスタンスを生成します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。