public interface ModuleEditor
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(org.pentaho.reporting.libraries.base.boot.Module module)
Checks whether this module editor can handle the given module.
|
ModuleEditor |
createInstance(org.pentaho.reporting.libraries.base.boot.Module module,
org.pentaho.reporting.libraries.base.config.HierarchicalConfiguration config,
ConfigDescriptionEntry[] keyNames)
Creates a new instance of the module editor.
|
JComponent |
getComponent()
Returns the editor component of the module.
|
void |
reset()
Resets all keys to the values from the report configuration.
|
void |
store()
Stores all values for the editor's keys into the report configuration.
|
ModuleEditor createInstance(org.pentaho.reporting.libraries.base.boot.Module module, org.pentaho.reporting.libraries.base.config.HierarchicalConfiguration config, ConfigDescriptionEntry[] keyNames)
module
- the module that should be edited.config
- the report configuration used to fill the values of the editors.keyNames
- the list of keynames this module editor should handle.boolean canHandle(org.pentaho.reporting.libraries.base.boot.Module module)
module
- the module to be edited.JComponent getComponent()
void reset()
void store()