net.sf.jlayercheck.util.modeltree
Class DependentClassNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
net.sf.jlayercheck.util.modeltree.DefaultClassNode
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
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 |
classDependency
protected ClassDependency classDependency
dependenciesTreeModel
protected DependenciesTreeModel dependenciesTreeModel
incomingDependenciesTreeModel
protected DependenciesTreeModel incomingDependenciesTreeModel
DependentClassNode
public DependentClassNode(ClassDependency cd)
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.