pipe.gui
Class ModuleClass

java.lang.Object
  |
  +--pipe.gui.ModuleClass

public class ModuleClass
extends 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.

Author:
Camilla Clifford

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

Constructor Detail

ModuleClass

public ModuleClass(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 String toString()
Overides the object method in order to provide the correct display name

Overrides:
toString in class Object

returnClass

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