| java.lang.Object net.mygwt.ui.client.util.TreeBuilder
TreeBuilder | public class TreeBuilder (Code) | | Various ways of populating trees.
See Also: Tree |
Method Summary | |
public static void | buildTree(Tree tree, Element root) Populates a tree from existing dom elements. | public static void | buildTree(Tree tree, Model model) Populates a tree from the given model. |
buildTree | public static void buildTree(Tree tree, Element root)(Code) | | Populates a tree from existing dom elements. The tree item text is taken
from the 'title' attribute of the element.
Parameters: tree - the tree Parameters: root - the root element |
buildTree | public static void buildTree(Tree tree, Model model)(Code) | | Populates a tree from the given model.
Parameters: tree - the tree Parameters: model - the model |
|
|