kiwi.event
Interface HierarchicalAssociationListener

All Known Implementing Classes:
StaticTreeModel.TreeNode

public abstract interface HierarchicalAssociationListener

This class defines the messages that can be sent by an object that takes part in some type of hierarchical association (e.g., a tree).

Version:
1.0 (05/98)
Author:
Mark Lindner, PING Software Group

Method Summary
 void nodeAdded(HierarchicalAssociationEvent evt)
          Invoked after a new child is added to an existing node in the hierarchy.
 void nodeChanged(HierarchicalAssociationEvent evt)
          Invoked after a node in the tree changes in some way.
 void nodeRemoved(HierarchicalAssociationEvent evt)
          Invoked after a child is removed from an existing node in the hierarchy.
 void nodeStructureChanged(HierarchicalAssociationEvent evt)
          Invoked after the subtree rooted at an existing node changes its structure in a way that can't be described efficiently using any of the other messages in this interface.
 

Method Detail

nodeAdded

public void nodeAdded(HierarchicalAssociationEvent evt)
Invoked after a new child is added to an existing node in the hierarchy.

nodeRemoved

public void nodeRemoved(HierarchicalAssociationEvent evt)
Invoked after a child is removed from an existing node in the hierarchy.

nodeChanged

public void nodeChanged(HierarchicalAssociationEvent evt)
Invoked after a node in the tree changes in some way.

nodeStructureChanged

public void nodeStructureChanged(HierarchicalAssociationEvent evt)
Invoked after the subtree rooted at an existing node changes its structure in a way that can't be described efficiently using any of the other messages in this interface.