インタフェース
javax.swing.event.TreeSelectionListenerの使用
-
TreeSelectionListenerを使用しているパッケージ パッケージ 説明 com.sun.java.accessibility.util Java Accessibility Utilitiesを構成するインタフェースとクラスの集合を提供します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。javax.swing.plaf.basic 基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。javax.swing.tree javax.swing.JTree
を処理するためのクラスとインタフェースを提供します。 -
-
com.sun.java.accessibility.utilでのTreeSelectionListenerの使用
型TreeSelectionListenerのパラメータを持つcom.sun.java.accessibility.utilのメソッド 修飾子と型 メソッド 説明 static void
SwingEventMonitor. addTreeSelectionListener(TreeSelectionListener l)
Java仮想マシンの各コンポーネント・インスタンスのすべてのTREESELECTION
イベントを、その発生時に受け取る指定のリスナーを追加します。static void
SwingEventMonitor. removeTreeSelectionListener(TreeSelectionListener l)
以後、TREESELECTION
イベントをその発生時に受け取らないように、指定されたリスナーを削除します。 -
javax.swingでのTreeSelectionListenerの使用
TreeSelectionListenerを実装しているjavax.swingのクラス 修飾子と型 クラス 説明 protected class
JTree.AccessibleJTree
このクラスは、JTree
クラスのアクセシビリティ・サポートを実装しています。protected class
JTree.TreeSelectionRedirector
JTree
をソースとして新しいTreeSelectionEvent
を生成し、それをすべてのリスナーに転送します。TreeSelectionListenerを返すjavax.swingのメソッド 修飾子と型 メソッド 説明 TreeSelectionListener[]
JTree. getTreeSelectionListeners()
addTreeSelectionListener()を使用してこのJTreeに追加されたすべてのTreeSelectionListener
の配列を返します。TreeSelectionListener型のパラメータを持つjavax.swingのメソッド 修飾子と型 メソッド 説明 void
JTree. addTreeSelectionListener(TreeSelectionListener tsl)
TreeSelection
イベントのリスナーを追加します。void
JTree.EmptySelectionModel. addTreeSelectionListener(TreeSelectionListener listener)
これをオーバーライドしても何も行われません。EmptySelectionModel
は選択を許可しません。void
JTree.EmptySelectionModel. removeTreeSelectionListener(TreeSelectionListener listener)
これをオーバーライドしても何も行われません。EmptySelectionModel
は選択を許可しません。void
JTree. removeTreeSelectionListener(TreeSelectionListener tsl)
TreeSelection
リスナーを削除します。 -
javax.swing.plaf.basicでのTreeSelectionListenerの使用
TreeSelectionListenerを実装しているjavax.swing.plaf.basicのクラス 修飾子と型 クラス 説明 class
BasicTreeUI.TreeSelectionHandler
選択モデルの変更を待機し、変更があった場合に表示を更新します。TreeSelectionListenerを返すjavax.swing.plaf.basicのメソッド 修飾子と型 メソッド 説明 protected TreeSelectionListener
BasicTreeUI. createTreeSelectionListener()
選択変更メソッドに基づいて表示を更新するリスナーを作成します。 -
javax.swing.treeでのTreeSelectionListenerの使用
TreeSelectionListenerを実装しているjavax.swing.treeのクラス 修飾子と型 クラス 説明 class
DefaultTreeCellEditor
TreeCellEditor
。TreeSelectionListenerを返すjavax.swing.treeのメソッド 修飾子と型 メソッド 説明 TreeSelectionListener[]
DefaultTreeSelectionModel. getTreeSelectionListeners()
このモデルに登録された、すべてのツリー選択リスナーから成る配列を返します。TreeSelectionListener型のパラメータを持つjavax.swing.treeのメソッド 修飾子と型 メソッド 説明 void
DefaultTreeSelectionModel. addTreeSelectionListener(TreeSelectionListener x)
選択されたTreePathの設定が変更されるたびに通知を受けるリスナーのリストにxを追加します。void
TreeSelectionModel. addTreeSelectionListener(TreeSelectionListener x)
選択されたTreePathの設定が変更されるたびに通知を受けるリスナーのリストにxを追加します。void
DefaultTreeSelectionModel. removeTreeSelectionListener(TreeSelectionListener x)
選択されたTreePathの設定が変更されるたびに通知を受けるリスナーのリストからxを削除します。void
TreeSelectionModel. removeTreeSelectionListener(TreeSelectionListener x)
選択されたTreePathの設定が変更されるたびに通知を受けるリスナーのリストからxを削除します。
-