com.jstatcom.component
Class Module

java.lang.Object
  extended by com.jstatcom.component.Module

public final class Module
extends java.lang.Object

Represents a serializable module to be used with TopFrame. A module holds the classname of the JInternalFrame containing the module and the associated helpset. Each of them can be null.

The XML representation of modules can be used to set up the helpsets and modules that are shown in a TopFrame.

Author:
Markus Kraetzig

Field Summary
 java.lang.String className
          Classname of this module.
 java.lang.String helpSetName
          Name of the helpset file of this module, for example /helpsets/myhelp/myhelp.hs.
 java.lang.String methodName
          Name of the static method to call with no parameters.
static javolution.xml.XmlFormat<Module> Module_XML
          XML format field for (de)serialization.
 
Constructor Summary
Module(java.lang.String className, java.lang.String helpSetName, java.lang.String methodName)
          Creates a module instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

public final java.lang.String className
Classname of this module.


helpSetName

public final java.lang.String helpSetName
Name of the helpset file of this module, for example /helpsets/myhelp/myhelp.hs.


methodName

public final java.lang.String methodName
Name of the static method to call with no parameters.


Module_XML

public static final javolution.xml.XmlFormat<Module> Module_XML
XML format field for (de)serialization.

Constructor Detail

Module

public Module(java.lang.String className,
              java.lang.String helpSetName,
              java.lang.String methodName)
Creates a module instance.

Parameters:
className - the class of this module, can be null
helpSetName - the name of the helpset associated with this module, can be null