jdepend.swingui
Class DependTree
JPanel
jdepend.swingui.DependTree
- TreeSelectionListener
public class DependTree
extends JPanel
implements TreeSelectionListener
The DependTree
class defines the graphical tree for displaying
the packages and their hierarchical dependencies.
- Mike Clark
- Clarkware Consulting, Inc.
DependTree
public DependTree()
Constructs a DependTree
with an empty tree model.
DependTree
public DependTree(DependTreeModel model)
Constructs a DependTree
with the specified tree model.
model
- Depend tree model.
addTreeSelectionListener
public void addTreeSelectionListener(TreeSelectionListener l)
Registers the specified listener with this tree.
l
- Tree selection listener.
getModel
public DependTreeModel getModel()
Returns the tree model.
- Tree model.
setModel
public void setModel(DependTreeModel model)
Sets the tree model.
model
- Tree model.
valueChanged
public void valueChanged(TreeSelectionEvent te)
Callback method triggered whenever the value of the tree selection
changes.
te
- Event that characterizes the change.
Copyright B) 1999-2005 Clarkware Consulting, Inc.