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. |
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. |
path
protected javax.swing.tree.TreePath path
- Path to the value this event represents.
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
getPath
public javax.swing.tree.TreePath getPath()
- Enabled: Returns the path to the value that has been expanded/collapsed.
comments?