Examples of ObjectInfo


Examples of realcix20.guis.views.ObjectInfo

            JTree tree = getContainer().getTree();
            //test
            for (int i = 1; i <= tree.getRowCount(); i++) {
                DefaultMutableTreeNode node = (DefaultMutableTreeNode)tree.getPathForRow(i).getLastPathComponent();
                if (node != null) {
                    ObjectInfo oj = (ObjectInfo)node.getUserObject();                   
                    //If it is a reg class
                    if ( (oj.flag.equals("object")) && (oj.clsId == 520) ) {                           
                            tree.setSelectionPath(tree.getPathForRow(i));                               
                            break;
                    }
                }
            }
           
            getContainer().setRegAnaly(regAnaly);
           
            for (int i = 1; i <= tree.getRowCount(); i++) {
                DefaultMutableTreeNode node = (DefaultMutableTreeNode)tree.getPathForRow(i).getLastPathComponent();
                if (node != null) {
                    ObjectInfo oj = (ObjectInfo)node.getUserObject();                   
                    //If it is a reg class
                    if ( (oj.flag.equals("object")) && (oj.clsId == 510) ) {                           
                            tree.setSelectionPath(tree.getPathForRow(i));                               
                            break;
                    }
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.