Package weka.gui.ensembleLibraryEditor.tree

Examples of weka.gui.ensembleLibraryEditor.tree.GenericObjectNode


    //properties
    GenericObjectEditor classifierEditor = new GenericObjectEditor();
    classifierEditor.setClassType(Classifier.class);
    classifierEditor.setValue(classifier);
   
    GenericObjectNode rootNode = new GenericObjectNode(this, classifier,
  classifierEditor, "Current Classifier");
   
    m_TreeModel = new DefaultTreeModel(rootNode);
    m_Tree = new JTree(m_TreeModel);
    rootNode.setTree(m_Tree);
    rootNode.updateTree();
   
    m_Tree.setRootVisible(true);
   
    ModelTreeNodeRenderer renderer = new ModelTreeNodeRenderer();
    m_Tree.setCellRenderer(renderer);
View Full Code Here

TOP

Related Classes of weka.gui.ensembleLibraryEditor.tree.GenericObjectNode

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.