Package jdepend.swingui
Class AfferentNode
- java.lang.Object
-
- jdepend.swingui.PackageNode
-
- jdepend.swingui.AfferentNode
-
public class AfferentNode extends PackageNode
TheAfferentNodeclass is aPackageNodefor an afferent Java package and its afferent packages.- Author:
- Mike Clark, Clarkware Consulting, Inc.
-
-
Constructor Summary
Constructors Constructor Description AfferentNode(PackageNode parent, JavaPackage jPackage)Constructs anAfferentNodewith the specified parent node and afferent Java package.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.CollectiongetCoupledPackages()Returns the collection of Java packages coupled to the package represented in this node.protected PackageNodemakeNode(PackageNode parent, JavaPackage jPackage)Creates and returns aPackageNodewith the specified parent node and Java package.java.lang.StringtoString()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 Detail
-
AfferentNode
public AfferentNode(PackageNode parent, JavaPackage jPackage)
Constructs anAfferentNodewith the specified parent node and afferent Java package.- Parameters:
parent- Parent package node.jPackage- Afferent Java package.
-
-
Method Detail
-
makeNode
protected PackageNode makeNode(PackageNode parent, JavaPackage jPackage)
Creates and returns aPackageNodewith the specified parent node and Java package.- Specified by:
makeNodein classPackageNode- Parameters:
parent- Parent package node.jPackage- Java package.- Returns:
- A non-null
PackageNode
-
getCoupledPackages
protected java.util.Collection getCoupledPackages()
Returns the collection of Java packages coupled to the package represented in this node.- Specified by:
getCoupledPackagesin classPackageNode- Returns:
- Collection of coupled packages.
-
toString
public java.lang.String toString()
Returns the string representation of this node in it's current tree context.- Overrides:
toStringin classPackageNode- Returns:
- Node label.
-
-