Interface TreeModelChangeListener
-
- All Superinterfaces:
EventListener
public interface TreeModelChangeListener extends EventListener
Definition of an interface to be implemented by components interested in changes on a tree model.
This interface is used by
TreeConfigurationChangeHandler
. Whenever a change event from an associatedConfiguration
is received the affectedConfigurationNode
is determined and passed to an implementation of this interface. The implementation can then decide how to react on this change.- Since:
- 1.3
- Version:
- $Id: $
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
treeModelChanged(org.apache.commons.configuration.tree.ConfigurationNode node)
Notifies this object that a change of the model configuration was detected.
-
-
-
Method Detail
-
treeModelChanged
void treeModelChanged(org.apache.commons.configuration.tree.ConfigurationNode node)
Notifies this object that a change of the model configuration was detected. The passed inConfigurationNode
represents the sub tree in the configuration affected by the change. (In the worst case, this is the configuration's root node.)- Parameters:
node
- the rootConfigurationNode
of the sub tree affected by the change
-
-