⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
jdepend.swingui

Class AfferentNode

java.lang.Object
|
+--jdepend.swingui.PackageNode
   |
   +--jdepend.swingui.AfferentNode


public class AfferentNode
extends PackageNode

The AfferentNode class is a PackageNode for an afferent Java package and its afferent packages.
Authors:
(mike@clarkware.com)
Clarkware Consulting, Inc.

Constructor Summary

AfferentNode(PackageNode parent, JavaPackage jPackage)

Constructs an AfferentNode with the specified parent node and afferent Java package.

Method Summary

java.util.Collection

getCoupledPackages()

Returns the collection of Java packages coupled to the package represented in this node.

PackageNode

makeNode(PackageNode parent, JavaPackage jPackage)

Creates and returns a PackageNode with the specified parent node and Java package.

java.lang.String

toString()

Returns the string representation of this node in it's current tree context.

Constructor Details

AfferentNode

public AfferentNode(PackageNode parent, JavaPackage jPackage)

Constructs an AfferentNode with the specified parent node and afferent Java package.

Parameters:
parent - Parent package node.
jPackage - Afferent Java package.

Method Details

getCoupledPackages

protected Collection getCoupledPackages()

Returns the collection of Java packages coupled to the package represented in this node.

Returns:
Collection of coupled packages.

makeNode

protected PackageNode makeNode(PackageNode parent, JavaPackage jPackage)

Creates and returns a PackageNode with the specified parent node and Java package.

Parameters:
parent - Parent package node.
jPackage - Java package.
Returns:
A non-null PackageNode

toString

public String toString()

Returns the string representation of this node in it's current tree context.

Returns:
Node label.