Examples of SimpleTreeModel


Examples of org.zkoss.zul.SimpleTreeModel

        logger.debug("funFormList size: " + funFormList.size() + " has saved to session");

        // show the function
        Tree funTree = (Tree) getFellow("funTree");

        SimpleTreeModel treeModel = new SimpleTreeModel(
                prepareRootNode(funFormList));

        funTree.setModel(treeModel);
        funTree.setTreeitemRenderer(this);
View Full Code Here

Examples of org.zkoss.zul.SimpleTreeModel

        objList = sess.selectList("Org.getAll");
        sess = null;

        logger.debug("record list size:" + objList.size());

        treeModel = new SimpleTreeModel(
                prepareRootNode(objList));

        objTree.setModel(treeModel);
        objTree.setTreeitemRenderer(this);
View Full Code Here

Examples of org.zkoss.zul.SimpleTreeModel

        List<CriterionTreeNode> rootList = new ArrayList<CriterionTreeNode>();
        for (Entry<CriterionType, Set<Criterion>> entry : criterions.entrySet()) {
            rootList.add(asNode(entry.getKey(), entry.getValue()));
        }
        CriterionTreeNode root = new CriterionTreeNode("Root", rootList);
        return new SimpleTreeModel(root);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.