Package jdepend.swingui
Class AfferentNode
java.lang.Object
jdepend.swingui.PackageNode
jdepend.swingui.AfferentNode
The
AfferentNode
class is a PackageNode
for an
afferent Java package and its afferent packages.- Author:
- Mike Clark, Clarkware Consulting, Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionAfferentNode
(PackageNode parent, JavaPackage jPackage) Constructs anAfferentNode
with the specified parent node and afferent Java package. -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
Returns the collection of Java packages coupled to the package represented in this node.protected PackageNode
makeNode
(PackageNode parent, JavaPackage jPackage) Creates and returns aPackageNode
with the specified parent node and Java package.toString()
Returns the string representation of this node in it's current tree context.Methods inherited from class jdepend.swingui.PackageNode
getChildren, getPackage, getParent, isChild, isLeaf, toMetricsString
-
Constructor Details
-
AfferentNode
Constructs anAfferentNode
with the specified parent node and afferent Java package.- Parameters:
parent
- Parent package node.jPackage
- Afferent Java package.
-
-
Method Details
-
makeNode
Creates and returns aPackageNode
with the specified parent node and Java package.- Specified by:
makeNode
in classPackageNode
- Parameters:
parent
- Parent package node.jPackage
- Java package.- Returns:
- A non-null
PackageNodeinvalid input: '<'/code.
-
getCoupledPackages
Returns the collection of Java packages coupled to the package represented in this node.- Specified by:
getCoupledPackages
in classPackageNode
- Returns:
- Collection of coupled packages.
-
toString
Returns the string representation of this node in it's current tree context.- Overrides:
toString
in classPackageNode
- Returns:
- Node label.
-