jdepend.swingui
Class EfferentNode
public class EfferentNode
The EfferentNode class is a
PackageNode for an efferent
Java package and its efferent packages.
- Mike Clark (mike@clarkware.com)
- Clarkware Consulting, Inc.
protected Collection | getCoupledPackages()- Returns the collection of Java packages
coupled to the package represented in this
node.
|
boolean | isChild(JavaPackage jPackage)- Indicates whether the specified package
should be displayed as a child of this
node.
|
protected PackageNode | makeNode(PackageNode parent, JavaPackage jPackage)- Creates and returns a
PackageNode
with the specified parent node and Java package.
|
String | toString()- Returns the string representation of this node
in it's current tree context.
|
EfferentNode
public EfferentNode(PackageNode parent,
JavaPackage jPackage) Constructs an EfferentNode with
the specified parent node and efferent Java
package.
parent - Parent package node.jPackage - Efferent Java package.
getCoupledPackages
protected Collection getCoupledPackages()
Returns the collection of Java packages
coupled to the package represented in this
node.
- getCoupledPackages in interface PackageNode
- Collection of coupled packages.
isChild
public boolean isChild(JavaPackage jPackage)
Indicates whether the specified package
should be displayed as a child of this
node.
Efferent packages without classes are
never shown at the root level to exclude
non-analyzed packages.
- isChild in interface PackageNode
jPackage - Package to test.
true to display the package;
false otherwise.
toString
public String toString()
Returns the string representation of this node
in it's current tree context.
- toString in interface PackageNode
Copyright B) 1999-2003 Clarkware Consulting, Inc.