pipe.gui
Class ModuleClassContainer

java.lang.Object
  extended by pipe.gui.ModuleClassContainer

public class ModuleClassContainer
extends java.lang.Object

ModuleClass encapsulates information about the Module class and is designed to be used as a userobject in nodes in a JTree, in this case for nodes representing module classes. This isn't designed for use anywhere else.


Constructor Summary
ModuleClassContainer(java.lang.Class cl)
          Sets up the private fields, includes instantiating an object and calling the getName method used to set the displayName.
 
Method Summary
 java.lang.Class returnClass()
          Returns the class object that the ModuleClass encapsulates
 java.lang.String toString()
          Overides the object method in order to provide the correct display name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleClassContainer

public ModuleClassContainer(java.lang.Class cl)
Sets up the private fields, includes instantiating an object and calling the getName method used to set the displayName.

Parameters:
cl - The class that the ModuleClass encapsulates.
Method Detail

toString

public java.lang.String toString()
Overides the object method in order to provide the correct display name

Overrides:
toString in class java.lang.Object

returnClass

public java.lang.Class returnClass()
Returns the class object that the ModuleClass encapsulates