java.lang.Object | +--jdepend.swingui.PackageNodeKnown Direct Subclasses:
PackageNode(PackageNode parent, JavaPackage jPackage) Constructs a PackageNode with the specified package and its collection of dependent packages. |
java.util.ArrayList | Returns the child package nodes of this node. |
java.util.Collection | Returns the collection of Java packages coupled to the package represented in this node. |
Returns the Java package represented in this node. | |
Returns the parent of this package node. | |
boolean | isChild(JavaPackage jPackage) Indicates whether the specified package should be displayed as a child of this node. |
boolean | isLeaf() Indicates whether this node is a leaf node. |
makeNode(PackageNode parent, JavaPackage jPackage) Creates and returns a PackageNode with the specified parent node and Java package. | |
java.lang.String | Returns the string representation of this node's metrics. |
java.lang.String | toString() Returns the string representation of this node in it's current tree context. |
public PackageNode(PackageNode parent, JavaPackage jPackage)
PackageNode
with
the specified package and its collection of
dependent packages.
public ArrayList getChildren()
protected Collection getCoupledPackages()
public JavaPackage getPackage()
public PackageNode getParent()
public boolean isChild(JavaPackage jPackage)
public boolean isLeaf()
protected PackageNode makeNode(PackageNode parent, JavaPackage jPackage)
PackageNode
with the specified parent node and Java package.
public String toMetricsString()
public String toString()
PackageNode
class defines the default behavior for tree nodes representing Java packages.