javax.swing.event
Class TreeExpansionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.swing.event.TreeExpansionEvent
All Implemented Interfaces:
Serializable

public class TreeExpansionEvent
extends EventObject

Safe:

See Also:
Serialized Form

Field Summary
protected  javax.swing.tree.TreePath path
          Path to the value this event represents.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TreeExpansionEvent(Object source, javax.swing.tree.TreePath path)
          Suppressed: Constructs a TreeExpansionEvent object.
 
Method Summary
 javax.swing.tree.TreePath getPath()
          Enabled: Returns the path to the value that has been expanded/collapsed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

path

protected javax.swing.tree.TreePath path
Path to the value this event represents.

Constructor Detail

TreeExpansionEvent

public TreeExpansionEvent(Object source,
                          javax.swing.tree.TreePath path)
Suppressed: Constructs a TreeExpansionEvent object.

Parameters:
source - the Object that originated the event (typically this)
path - a TreePath object identifying the newly expanded node
Method Detail

getPath

public javax.swing.tree.TreePath getPath()
Enabled: Returns the path to the value that has been expanded/collapsed.



comments?