| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.awt.event.ComponentAdapter
javax.swing.plaf.basic.BasicTreeUI.ComponentHandler
public class BasicTreeUI.ComponentHandler
滚动时更新首选大小(如果需要)。
| 字段摘要 | |
|---|---|
| protected  JScrollBar | scrollBar正在调整的 scrollBar。 | 
| protected  Timer | timer在滚动窗格中调整滚动条时使用的 Timer。 | 
| 构造方法摘要 | |
|---|---|
| BasicTreeUI.ComponentHandler() | |
| 方法摘要 | |
|---|---|
|  void | actionPerformed(ActionEvent ae)因 Timer 而将此方法作为公共方法。 | 
|  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. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。