net.sf.jlayercheck.util.modeltree
Interface ModelTree

All Superinterfaces:
TreeNode
All Known Implementing Classes:
DefaultModelTree, DependentModelTree

public interface ModelTree
extends TreeNode

The root of the dependency tree. It contains modules as defined by the configuration file.

Author:
webmaster@earth3d.org

Method Summary
 ClassNode getClassNode(String classname)
          Returns the first ClassNode node for the given classname.
 Vector<ModuleNode> getModules()
           
 ModuleNode getUnassignedModule()
          Returns the node that contains the unassigned packages.
 void merge(ModelTree additionalModelTree)
          Merges the given tree into this one.
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

getModules

Vector<ModuleNode> getModules()

getClassNode

ClassNode getClassNode(String classname)
Returns the first ClassNode node for the given classname.

Parameters:
classname -
Returns:

getUnassignedModule

ModuleNode getUnassignedModule()
Returns the node that contains the unassigned packages.

Returns:
"unassigned" ModuleNode

merge

void merge(ModelTree additionalModelTree)
Merges the given tree into this one.

Parameters:
additionalModelTree -


Copyright © 2007. All Rights Reserved.