net.sf.jlayercheck.util.modeltree
Interface ModuleNode

All Superinterfaces:
Comparable<ModuleNode>, MutableTreeNode, NamedTreeNode, TreeNode
All Known Implementing Classes:
DefaultModuleNode, DependentModuleNode

public interface ModuleNode
extends MutableTreeNode, NamedTreeNode, Comparable<ModuleNode>

Describes a module that can contain java packages.

Author:
webmaster@earth3d.org

Method Summary
 void add(PackageNode packagenode)
          Adds the given packageNode as child.
 String getModuleName()
          Returns the name of this module.
 PackageNode getPackage(String packagename)
          Searches for the PackageNode with the given name.
 Vector<PackageNode> getPackages()
           
 boolean isUnassignedModule()
          Returns true if this module is the "unassigned" module for excluded classes.
 
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
 
Methods inherited from interface net.sf.jlayercheck.util.modeltree.NamedTreeNode
getName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPackages

Vector<PackageNode> getPackages()

getModuleName

String getModuleName()
Returns the name of this module.

Returns:
modulename

add

void add(PackageNode packagenode)
Adds the given packageNode as child.

Parameters:
packagenode -

getPackage

PackageNode getPackage(String packagename)
Searches for the PackageNode with the given name.

Parameters:
packagename -
Returns:

isUnassignedModule

boolean isUnassignedModule()
Returns true if this module is the "unassigned" module for excluded classes.



Copyright © 2007. All Rights Reserved.