org.jfree.report.modules.gui.base
Class PreviewBaseModule

java.lang.Object
  extended byorg.jfree.report.modules.DefaultModuleInfo
      extended byorg.jfree.report.modules.AbstractModule
          extended byorg.jfree.report.modules.gui.base.PreviewBaseModule
All Implemented Interfaces:
Module, ModuleInfo

public class PreviewBaseModule
extends AbstractModule

The preview base module provides the basic preview components. This package contains Applet, JDialog, JFrame and JInternalFrame implementations of the preview component. External export modules may plug into these components to provide additional functionality.

Author:
Thomas Morgner

Field Summary
static java.lang.String SWING_TRANSLATE_KEY
          A configuration key defining whether to translate the swing components.
 
Constructor Summary
PreviewBaseModule()
          Default Constructor.
 
Method Summary
 void initialize()
          Initalizes the module.
 
Methods inherited from class org.jfree.report.modules.AbstractModule
configure, getDescription, getName, getOptionalModules, getProducer, getRequiredModules, getSubSystem, isClassLoadable, loadModuleInfo, loadModuleInfo, performExternalInitialize, setDescription, setName, setOptionalModules, setProducer, setRequiredModules, setSubSystem, toString
 
Methods inherited from class org.jfree.report.modules.DefaultModuleInfo
equals, getMajorVersion, getMinorVersion, getModuleClass, getPatchLevel, hashCode, setMajorVersion, setMinorVersion, setModuleClass, setPatchLevel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jfree.report.modules.ModuleInfo
getMajorVersion, getMinorVersion, getModuleClass, getPatchLevel
 

Field Detail

SWING_TRANSLATE_KEY

public static final java.lang.String SWING_TRANSLATE_KEY
A configuration key defining whether to translate the swing components.

See Also:
Constant Field Values
Constructor Detail

PreviewBaseModule

public PreviewBaseModule()
                  throws ModuleInitializeException
Default Constructor. Loads the module definition.

Throws:
ModuleInitializeException - if loading the module definition failed.
Method Detail

initialize

public void initialize()
                throws ModuleInitializeException
Initalizes the module. If the swing components should be translated, the resources are plugged into the Swing-ResourceManager.

Throws:
ModuleInitializeException - if an error occured.
See Also:
Module.initialize()