com.tensegrity.gui.swing.control.tree
Interface DynamicTreeNode

All Known Implementing Classes:
VisualGraphObjectTreeNode

public interface DynamicTreeNode

DynamicTreeNode can load its children dynamically on demand. Tree's or nodes just may call loadChildren and then use nodeStuctureChanged on the model to reflect the change.

Version:
$Id: DynamicTreeNode.java,v 1.1 2003/05/12 11:11:53 GillesIachelini Exp $
Author:
Gilles Iachelini

Method Summary
 void loadChildren()
          Method loadChildren Loads the children of this node.
 

Method Detail

loadChildren

public void loadChildren()
Method loadChildren Loads the children of this node. This may depend on userObject or any other structured data item of the node. this method should be invoked by ExpansionListeners of tree's to indicate that the children of this node are required. A prerequisite of all implementations might be to remove the children first before they are loaded.



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.