public class BasicTreeUI.ComponentHandler extends ComponentAdapter implements ActionListener
修飾子と型 | フィールド | 説明 |
---|---|---|
protected JScrollBar |
scrollBar |
調節されているScrollBarです。
|
protected Timer |
timer |
スクロール・ペイン内でスクロール・バーを調節しているときに使用されるタイマーです。
|
コンストラクタ | 説明 |
---|---|
ComponentHandler() |
修飾子と型 | メソッド | 説明 |
---|---|---|
void |
actionPerformed(ActionEvent ae) |
Timerの結果としてpublicです。
|
void |
componentMoved(ComponentEvent e) |
コンポーネントの位置が変わると呼び出されます。
|
protected JScrollPane |
getScrollPane() |
JTreeを持つJScrollPane、またはこれが見つからない場合にはnullを返します。
|
protected void |
startTimer() |
境界サイズを変更する必要があるかどうかをチェックするTimerを作成(必要な場合)して開始します。
|
componentHidden, componentResized, componentShown
protected Timer timer
protected JScrollBar scrollBar
public void componentMoved(ComponentEvent e)
ComponentAdapter
componentMoved
、インタフェースComponentListener
componentMoved
、クラスComponentAdapter
protected void startTimer()
protected JScrollPane getScrollPane()
public void actionPerformed(ActionEvent ae)
actionPerformed
、インタフェースActionListener
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。