net.sf.jlayercheck.util.modeltree
Class DependentClassNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by net.sf.jlayercheck.util.modeltree.DefaultClassNode
          extended by net.sf.jlayercheck.util.modeltree.DependentClassNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode, ClassNode, NamedTreeNode, UnallowedOrAllowedDependency

public class DependentClassNode
extends DefaultClassNode
implements UnallowedOrAllowedDependency

See Also:
Serialized Form

Field Summary
protected  ClassDependency classDependency
           
protected  DependenciesTreeModel dependenciesTreeModel
           
protected  DependenciesTreeModel incomingDependenciesTreeModel
           
 
Fields inherited from class net.sf.jlayercheck.util.modeltree.DefaultClassNode
classDependencies, classname
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
DependentClassNode(ClassDependency cd)
           
 
Method Summary
 ClassDependency getClassDependency()
          Returns the ClassDependency that is represented by this ClassNode.
 DependenciesTreeModel getDependenciesTreeModel()
          Contains the tree that contains all dependencies of this class to other modules, packages and classes.
 DependenciesTreeModel getIncomingDependenciesTreeModel()
           
 boolean isUnallowedDependency()
           
 void setClassDependency(ClassDependency classDependency)
           
 void setDependenciesTreeModel(DependenciesTreeModel dependenciesTreeModel)
           
 void setIncomingDependenciesTreeModel(DependenciesTreeModel dtm)
           
 
Methods inherited from class net.sf.jlayercheck.util.modeltree.DefaultClassNode
addClassDependency, getClassDependencies, getClassname, getName, toString
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Field Detail

classDependency

protected ClassDependency classDependency

dependenciesTreeModel

protected DependenciesTreeModel dependenciesTreeModel

incomingDependenciesTreeModel

protected DependenciesTreeModel incomingDependenciesTreeModel
Constructor Detail

DependentClassNode

public DependentClassNode(ClassDependency cd)
Method Detail

getClassDependency

public ClassDependency getClassDependency()
Returns the ClassDependency that is represented by this ClassNode.

Returns:

setClassDependency

public void setClassDependency(ClassDependency classDependency)

isUnallowedDependency

public boolean isUnallowedDependency()
Specified by:
isUnallowedDependency in interface UnallowedOrAllowedDependency

getDependenciesTreeModel

public DependenciesTreeModel getDependenciesTreeModel()
Contains the tree that contains all dependencies of this class to other modules, packages and classes.

Returns:
tree model

setDependenciesTreeModel

public void setDependenciesTreeModel(DependenciesTreeModel dependenciesTreeModel)

setIncomingDependenciesTreeModel

public void setIncomingDependenciesTreeModel(DependenciesTreeModel dtm)

getIncomingDependenciesTreeModel

public DependenciesTreeModel getIncomingDependenciesTreeModel()


Copyright © 2007. All Rights Reserved.