|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The module editor is used to provide a customizable editor component for a JfreeReport module.
At the moment, there is only one common module editor known, which provides an on-the-fly editor for all defined properties of the module. Specialized editors may be added in the future.
| Method Summary | |
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 instance of the module editor. |
javax.swing.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. |
| 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.public boolean canHandle(org.jfree.base.modules.Module module)
module - the module to be edited.public javax.swing.JComponent getComponent()
public void reset()
public void store()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||