JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
クラス BasicTreeUI.TreeSelectionHandler

java.lang.Object
  上位を拡張 javax.swing.plaf.basic.BasicTreeUI.TreeSelectionHandler
すべての実装されたインタフェース:
EventListener, TreeSelectionListener
含まれているクラス:
BasicTreeUI

public class BasicTreeUI.TreeSelectionHandler
extends Object
implements TreeSelectionListener

選択モデルの変更を待機し、変更があった場合に表示を更新します。


コンストラクタの概要
BasicTreeUI.TreeSelectionHandler()
           
 
メソッドの概要
 void valueChanged(TreeSelectionEvent event)
          表示されているツリーで選択が変更されたときにメッセージとして送られます。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicTreeUI.TreeSelectionHandler

public BasicTreeUI.TreeSelectionHandler()
メソッドの詳細

valueChanged

public void valueChanged(TreeSelectionEvent event)
表示されているツリーで選択が変更されたときにメッセージとして送られます。編集を停止し、スーパーをメッセージとして送り、変更されたパスを表示します。

定義:
インタフェース TreeSelectionListener 内の valueChanged
パラメータ:
event - 変更を記述するイベント

JavaTM Platform
Standard Ed. 6

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

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