API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicTreeUI.ComponentHandler View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ComponentAdapter
          BasicTreeUI.ComponentHandler
Implements
 ActionListener
Subclasses
Description
public class BasicTreeUI.ComponentHandler
Updates the preferred size when scrolling (if necessary).
See also:   
Constructors
public BasicTreeUI.ComponentHandler ()
Methods
Hide/Show inherited methods
public void actionPerformed (ActionEvent ae) [Specified in ActionListener]
  Public as a result of Timer.
public void componentHidden (ComponentEvent e) [Inherited From ComponentAdapter]
Invoked when the component has been made invisible.
public void componentMoved (ComponentEvent e) [Overrides ComponentAdapter]
public void componentResized (ComponentEvent e) [Inherited From ComponentAdapter]
Invoked when the component's size changes.
public void componentShown (ComponentEvent e) [Inherited From ComponentAdapter]
Invoked when the component has been made visible.
protected JScrollPane getScrollPane ()
Returns the JScrollPane housing the JTree, or null if one isn't found.
protected void startTimer ()
Creates, if necessary, and starts a Timer to check if need to resize the bounds.
Fields
Hide/Show inherited fields
protected JScrollBar scrollBar
ScrollBar that is being adjusted.
protected Timer timer
Timer used when inside a scrollpane and the scrollbar is adjusting.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar