19 package org.turro.entities;
21 import org.zkoss.zul.Tree;
22 import org.zkoss.zul.Treechildren;
30 private Treechildren children;
31 private boolean loadOnDemand =
true;
39 this.loadOnDemand = loadOnDemand;
43 children.getChildren().clear();
44 if(category !=
null) {
51 children.appendChild(cat);
63 private void addChildrenSpace() {
64 children =
new Treechildren();
65 appendChild(children);
69 for(Object o : children.getChildren()) {
IElephantEntity getSelectedCategory()
void setRoot(IElephantEntity category)
EntityTreeItem addCategory(IElephantEntity category, boolean loadOnDemand)
void setLoadOnDemand(boolean loadOnDemand)