Package org.jdesktop.swingx.treetable

Examples of org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode


        return filterCriteria;
    }

    public AbstractMutableTreeTableNode getNode(int row) {
        int rowCounter = 0;
        AbstractMutableTreeTableNode node = null;

        for (int i = 0; i < getRoot().getChildCount(); i++) {
            AbstractMutableTreeTableNode tn = (AbstractMutableTreeTableNode) getRoot().getChildAt(i);
            if (rowCounter == row) {
                node = tn;
                break;
            }
            if(treeTable.isExpanded(rowCounter)) {
                for (int j = 0; j < tn.getChildCount(); j++) {
                    rowCounter++;
                    if (rowCounter == row) {
                        node = (AbstractMutableTreeTableNode) tn.getChildAt(j);
                        break;
                    }
                }
            }
            if (node != null)
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode

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.