Where Am I? Class Hierarchy (JFC) All Classes (JFC)

Class com.sun.java.swing.event.TreeExpansionEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.sun.java.swing.event.TreeExpansionEvent

public class TreeExpansionEvent
extends EventObject

An event used to identify a single path in a tree. The source returned by getSource will be an instance of JTree.

Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.


Variable Index

path
Path to the value this event represents.

Constructor Index

TreeExpansionEvent(Object, TreePath)

Method Index

getPath()
Returns the path to the value that has been expanded/collapsed.

Variables

path
 protected TreePath path
Path to the value this event represents.


Constructors

TreeExpansionEvent
 public TreeExpansionEvent(Object source,
                           TreePath path)

Methods

getPath
 public TreePath getPath()
Returns the path to the value that has been expanded/collapsed.


Where Am I? Class Hierarchy (JFC) All Classes (JFC)