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 JScrollBar調節されているScrollBarです。protected Timerスクロール・ペイン内でスクロール・バーを調節しているときに使用されるタイマーです。
- 
コンストラクタのサマリーコンストラクタ
- 
メソッドのサマリー修飾子と型メソッド説明voidTimerの結果としてpublicです。protected JScrollPaneJTreeを格納しているJScrollPaneを返します。見つからない場合はnullを返します。protected void境界サイズを変更する必要があるかどうかをチェックするTimerを作成(必要な場合)して開始します。クラス java.awt.event.ComponentAdapterで宣言されたメソッドcomponentHidden, componentMoved, componentResized, componentShown
- 
フィールド詳細- 
timerprotected Timer timerスクロール・ペイン内でスクロール・バーを調節しているときに使用されるタイマーです。
- 
scrollBarprotected JScrollBar scrollBar調節されているScrollBarです。
 
- 
- 
コンストラクタの詳細- 
ComponentHandlerpublic ComponentHandler()ComponentHandlerを構築します。
 
- 
- 
メソッドの詳細- 
startTimerprotected void startTimer()境界サイズを変更する必要があるかどうかをチェックするTimerを作成(必要な場合)して開始します。
- 
getScrollPaneprotected JScrollPane getScrollPane()JTreeを格納しているJScrollPaneを返します。見つからない場合はnullを返します。- 戻り値:
- JTreeを格納している- JScrollPane
 
- 
actionPerformedpublic void actionPerformed(ActionEvent ae) Timerの結果としてpublicです。 scrollBarがnullまたは調節されていない場合は、タイマーを停止してサイズ変更を更新します。- 定義:
- actionPerformed、インタフェース:- ActionListener
- パラメータ:
- ae- 処理されるイベント
 
 
-