|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.modules.gui.config.editor.DefaultModuleEditor
The default module editor provides a simple default implementation to edit all configuration keys for a given module.
| Constructor Summary | |
DefaultModuleEditor()
Creates a new, uninitialized module editor. |
|
| Method Summary | |
protected void |
build()
Initializes all component for the module editor and creates and layouts all keyeditors. |
boolean |
canHandle(org.jfree.base.modules.Module module)
Checks, whether this module editor can handle the given module. |
ModuleEditor |
createInstance(org.jfree.base.modules.Module module,
org.jfree.base.config.HierarchicalConfiguration config,
ConfigDescriptionEntry[] keyNames)
Creates a new, initialized instance of the default module editor. |
javax.swing.JComponent |
getComponent()
Returns the editor component of the module. |
protected org.jfree.base.config.HierarchicalConfiguration |
getConfig()
Returns the report configuration used when loading values for this editor. |
protected ConfigDescriptionEntry[] |
getKeyNames()
Returns the key names used in this editor. |
protected org.jfree.base.modules.Module |
getModule()
Returns the currently edited module. |
void |
reset()
Resets all keys to the values from the report configuration. |
protected void |
setConfig(org.jfree.base.config.HierarchicalConfiguration config)
Defines the report configuration for this editor. |
protected void |
setKeyNames(ConfigDescriptionEntry[] keyNames)
Defines the suggested key names for the module editor. |
protected void |
setModule(org.jfree.base.modules.Module module)
Defines the module for this editor. |
void |
store()
Stores all values for the editor's keys into the report configuration. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DefaultModuleEditor()
| Method Detail |
public ModuleEditor createInstance(org.jfree.base.modules.Module module,
org.jfree.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.ModuleEditor.createInstance(Module, HierarchicalConfiguration,
ConfigDescriptionEntry[])protected org.jfree.base.modules.Module getModule()
protected void setModule(org.jfree.base.modules.Module module)
module - the module, which should be handled by this editor.public boolean canHandle(org.jfree.base.modules.Module module)
module - the module to be edited.ModuleEditor.canHandle(Module)protected org.jfree.base.config.HierarchicalConfiguration getConfig()
protected void setConfig(org.jfree.base.config.HierarchicalConfiguration config)
config - the report configuration.protected ConfigDescriptionEntry[] getKeyNames()
protected void setKeyNames(ConfigDescriptionEntry[] keyNames)
keyNames - the key names for the editor.public javax.swing.JComponent getComponent()
protected void build()
public void reset()
public void store()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||