|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.awt.event.ComponentAdapter
javax.swing.plaf.basic.BasicTreeUI.ComponentHandler
public class BasicTreeUI.ComponentHandler
必要であれば、スクロール時に適切なサイズを更新します。
| フィールドの概要 | |
|---|---|
protected JScrollBar |
scrollBar
調節されている ScrollBar です。 |
protected Timer |
timer
スクロール区画内でスクロールバーを調節しているときに使われるタイマーです。 |
| コンストラクタの概要 | |
|---|---|
BasicTreeUI.ComponentHandler()
|
|
| メソッドの概要 | |
|---|---|
void |
actionPerformed(ActionEvent ae)
Timer の結果としての public です。 |
void |
componentMoved(ComponentEvent e)
コンポーネントの位置が変わると呼び出されます。 |
protected JScrollPane |
getScrollPane()
JTree を収納する JScrollPane、またはこれが見つからない場合には null を返します。 |
protected void |
startTimer()
境界の大きさを変更するべきかどうかをチェックするために、必要であれば Timer を作成してから、起動します。 |
| クラス java.awt.event.ComponentAdapter から継承されたメソッド |
|---|
componentHidden, componentResized, componentShown |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected Timer timer
protected JScrollBar scrollBar
| コンストラクタの詳細 |
|---|
public BasicTreeUI.ComponentHandler()
| メソッドの詳細 |
|---|
public void componentMoved(ComponentEvent e)
ComponentAdapter の記述:
ComponentListener 内の componentMovedComponentAdapter 内の componentMovedprotected void startTimer()
protected JScrollPane getScrollPane()
public void actionPerformed(ActionEvent ae)
ActionListener 内の actionPerformed
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。