Package org.richfaces.component

Examples of org.richfaces.component.TreeModelAdaptor


    }

    public boolean isLeaf() {
        UIComponent currentComponent = getCurrentComponent();

        TreeModelAdaptor adaptor = (TreeModelAdaptor) currentComponent;

        if (adaptor.isLeaf()) {
            return true;
        }

        if (adaptor instanceof TreeModelRecursiveAdaptor) {
            return false;
View Full Code Here


                    if (child instanceof TreeModelRecursiveAdaptor) {
                        TreeModelRecursiveAdaptor treeModelRecursiveAdaptor = (TreeModelRecursiveAdaptor) child;

                        nodes = treeModelRecursiveAdaptor.getRoots();
                    } else if (child instanceof TreeModelAdaptor) {
                        TreeModelAdaptor treeModelAdaptor = (TreeModelAdaptor) child;

                        nodes = treeModelAdaptor.getNodes();
                    }

                    Iterator<TreeDataModelTuple> tuplesIterator = createTuplesIterator(child, nodes);
                    if (tuplesIterator != null) {
                        list.add(tuplesIterator);
View Full Code Here

TOP

Related Classes of org.richfaces.component.TreeModelAdaptor

Copyright © 2018 www.massapicom. 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.