- java.lang.Object
- 
- java.awt.event.ComponentAdapter
- 
- javax.swing.plaf.basic.BasicTreeUI.ComponentHandler
 
 
- 
- すべての実装されたインタフェース:
- ActionListener,- ComponentListener,- EventListener
 - 含まれているクラス:
- BasicTreeUI
 
 public class BasicTreeUI.ComponentHandler extends ComponentAdapter implements ActionListener スクロール時に推奨サイズを更新します(必要に応じて)。
- 
- 
フィールドのサマリーフィールド 修飾子と型 フィールド 説明 protected JScrollBarscrollBar調節されているScrollBarです。protected Timertimerスクロール・ペイン内でスクロール・バーを調節しているときに使用されるタイマーです。
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 ComponentHandler()
 - 
メソッドのサマリー修飾子と型 メソッド 説明 voidactionPerformed(ActionEvent ae)Timerの結果としてpublicです。protected JScrollPanegetScrollPane()JTreeを格納しているJScrollPaneを返します。見つからない場合はnullを返します。protected voidstartTimer()境界サイズを変更する必要があるかどうかをチェックするTimerを作成(必要な場合)して開始します。- 
クラス java.awt.event.ComponentAdapterで宣言されたメソッドcomponentHidden, componentMoved, componentResized, componentShown
 
- 
 
- 
- 
- 
フィールドの詳細- 
timerprotected Timer timer スクロール・ペイン内でスクロール・バーを調節しているときに使用されるタイマーです。
 - 
scrollBarprotected JScrollBar scrollBar 調節されているScrollBarです。
 
- 
 - 
メソッドの詳細- 
startTimerprotected void startTimer() 境界サイズを変更する必要があるかどうかをチェックするTimerを作成(必要な場合)して開始します。
 - 
getScrollPaneprotected JScrollPane getScrollPane() JTreeを格納しているJScrollPaneを返します。見つからない場合はnullを返します。- 戻り値:
- JTreeを格納している- JScrollPane
 
 - 
actionPerformedpublic void actionPerformed(ActionEvent ae) Timerの結果としてpublicです。 scrollBarがnullまたは調節されていない場合は、タイマーを停止してサイズ変更を更新します。- 定義:
- actionPerformed、インタフェース:- ActionListener
- パラメータ:
- ae- 処理されるイベント
 
 
- 
 
-