public interface ModuleEditor
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Module module)
Checks whether this module editor can handle the given module.
|
ModuleEditor |
createInstance(Module module,
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(Module module, 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(Module module)
module
- the module to be edited.JComponent getComponent()
void reset()
void store()
Copyright © 2019 Hitachi Vantara. All rights reserved.