net.sf.jlayercheck.util.modeltree
Interface PackageNode

All Superinterfaces:
MutableTreeNode, NamedTreeNode, TreeNode
All Known Implementing Classes:
DefaultPackageNode, DependentPackageNode

public interface PackageNode
extends MutableTreeNode, NamedTreeNode

Describes a java package that can contain java classes.

Author:
webmaster@earth3d.org

Method Summary
 void add(ClassNode classnode)
          Adds the given ClassNode as child.
 ClassNode getClass(String name)
          Retrieves the ClassNode with the given name.
 Vector<ClassNode> getClasses()
          Returns the classes in this package.
 String getPackagename()
          Returns the name of this package.
 boolean isUnassignedPackage()
          Returns true if this is the "unassigned" package that contains 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
 

Method Detail

getClasses

Vector<ClassNode> getClasses()
Returns the classes in this package.

Returns:
vector of classes

getPackagename

String getPackagename()
Returns the name of this package.

Returns:
packagename

add

void add(ClassNode classnode)
Adds the given ClassNode as child.

Parameters:
classnode -

getClass

ClassNode getClass(String name)
Retrieves the ClassNode with the given name.

Parameters:
name -
Returns:
ClassNode

isUnassignedPackage

boolean isUnassignedPackage()
Returns true if this is the "unassigned" package that contains excluded classes.

Returns:


Copyright © 2007. All Rights Reserved.