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

java.lang.Object
  |
  +--org.jfree.base.modules.DefaultModuleInfo
        |
        +--org.jfree.base.modules.AbstractModule
              |
              +--org.jfree.report.modules.gui.base.PreviewBaseModule

public class PreviewBaseModule
extends org.jfree.base.modules.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 RESOURCES_BASE_NAME
           
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(org.jfree.base.modules.SubSystem subSystem)
          Initalizes the module.
 
Methods inherited from class org.jfree.base.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.base.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
 

Field Detail

SWING_TRANSLATE_KEY

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

RESOURCES_BASE_NAME

public static final java.lang.String RESOURCES_BASE_NAME
Constructor Detail

PreviewBaseModule

public PreviewBaseModule()
                  throws org.jfree.base.modules.ModuleInitializeException
Default Constructor. Loads the module definition.
Throws:
org.jfree.base.modules.ModuleInitializeException - if loading the module definition failed.
Method Detail

initialize

public void initialize(org.jfree.base.modules.SubSystem subSystem)
                throws org.jfree.base.modules.ModuleInitializeException
Initalizes the module. If the swing components should be translated, the resources are plugged into the Swing-ResourceManager.
Overrides:
initialize in class org.jfree.base.modules.AbstractModule
Throws:
org.jfree.base.modules.ModuleInitializeException - if an error occured.