|
|||||||||
| 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.model.AbstractConfigTreeNode
|
+--org.jfree.report.modules.gui.config.model.ConfigTreeModuleNode
The config tree module node is used to represent a module in the report configuration. Modules collect all task-specific configuration keys and represent a report module from the package manager.
It is assumed, that all modules define their keys within the namespace of their package.
| Constructor Summary | |
ConfigTreeModuleNode(org.jfree.base.modules.Module module,
org.jfree.base.config.HierarchicalConfiguration config)
Creates a new module node for the given module object and report configuration. |
|
| Method Summary | |
void |
addAssignedKey(ConfigDescriptionEntry key)
Adds the given key to the list of assigned keys, if not already added. |
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
ConfigDescriptionEntry[] |
getAssignedKeys()
Returns the list of assigned keys as object array. |
org.jfree.base.config.HierarchicalConfiguration |
getConfiguration()
Returns the report configuration used to fill the values from this node. |
java.lang.String |
getConfigurationPrefix()
Returns the configuration prefix of this module. |
org.jfree.base.modules.Module |
getModule()
Returns the module represented by this node. |
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
void |
removeAssignedKey(ConfigDescriptionEntry key)
Removed the given key description from the list of assigned keys. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class org.jfree.report.modules.gui.config.model.AbstractConfigTreeNode |
add,
children,
getChildAt,
getChildCount,
getIndex,
getName,
getParent,
reset,
setParent |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public ConfigTreeModuleNode(org.jfree.base.modules.Module module,
org.jfree.base.config.HierarchicalConfiguration config)
module - the module for which to build a tree node.config - the report configuration from where to read the keys.| Method Detail |
public org.jfree.base.modules.Module getModule()
public org.jfree.base.config.HierarchicalConfiguration getConfiguration()
public java.lang.String getConfigurationPrefix()
public java.lang.String toString()
Object.toString()public boolean isLeaf()
public boolean getAllowsChildren()
public void addAssignedKey(ConfigDescriptionEntry key)
key - the new key to be addedpublic void removeAssignedKey(ConfigDescriptionEntry key)
key - the key that should be removed.public ConfigDescriptionEntry[] getAssignedKeys()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||