jdepend.swingui
public class DependTree extends JPanel implements TreeSelectionListener
DependTree
class defines the graphical tree
for displaying the packages and their hierarchical
dependencies.
Constructor Summary | |
---|---|
DependTree()
Constructs a DependTree with an
empty tree model. | |
DependTree(DependTreeModel model)
Constructs a DependTree with the
specified tree model.
|
Method Summary | |
---|---|
void | addTreeSelectionListener(TreeSelectionListener l)
Registers the specified listener with this tree.
|
DependTreeModel | getModel()
Returns the tree model.
|
void | setModel(DependTreeModel model)
Sets the tree model.
|
void | valueChanged(TreeSelectionEvent te)
Callback method triggered whenever the value of
the tree selection changes.
|
DependTree
with an
empty tree model.DependTree
with the
specified tree model.
Parameters: model Depend tree model.
Parameters: listener Tree selection listener.
Returns: Tree model.
Parameters: model Tree model.
Parameters: te Event that characterizes the change.