Package weka.gui.hierarchyvisualizer

Examples of weka.gui.hierarchyvisualizer.HierarchyVisualizer


    }
        });
      jf.setVisible(true);
      tv.fitToScreen();
    } else if (graphString.startsWith("Newick:")) {
      HierarchyVisualizer tv = new HierarchyVisualizer(graphString.substring(7));
      jf.getContentPane().add(tv, BorderLayout.CENTER);
      jf.addWindowListener(new java.awt.event.WindowAdapter() {
        public void windowClosing(java.awt.event.WindowEvent e) {
          jf.dispose();
        }
      });
      jf.setVisible(true);
      tv.fitToScreen();
    }
  }
View Full Code Here


      });

      jf.setVisible(true);
      tv.fitToScreen();
    } else if (graphString.startsWith(Messages.getInstance().getString("ClustererPanel_VisualizeTree_GraphStringStartsWith_Text"))) {
      HierarchyVisualizer tv = new HierarchyVisualizer(graphString.substring(7));
      jf.getContentPane().add(tv, BorderLayout.CENTER);
      jf.addWindowListener(new java.awt.event.WindowAdapter() {
          public void windowClosing(java.awt.event.WindowEvent e) {
                  jf.dispose();
          }
      });
      jf.setVisible(true);
      tv.fitToScreen();
    }
  }
View Full Code Here

        JInternalFrame visualizationWindow = new JInternalFrame(
            clusterNumber, true, true, true, true);
        visualizationWindow.setSize(600, 500);
        visualizationWindow.setLayout(new BorderLayout());

        HierarchyVisualizer visualizer = new HierarchyVisualizer(c);
        visualizationWindow.add(visualizer, BorderLayout.CENTER);
        visualizer.fitToScreen();

        // Text field with the clustering result in Newick format
        JTextField data = new JTextField(c);
        visualizationWindow.add(data, BorderLayout.SOUTH);
        visualizationWindow.setVisible(true);
View Full Code Here

    }
        });
      jf.setVisible(true);
      tv.fitToScreen();
    } else if (graphString.startsWith("Newick:")) {
      HierarchyVisualizer tv = new HierarchyVisualizer(graphString.substring(7));
      jf.getContentPane().add(tv, BorderLayout.CENTER);
      jf.addWindowListener(new java.awt.event.WindowAdapter() {
        public void windowClosing(java.awt.event.WindowEvent e) {
          jf.dispose();
        }
      });
      jf.setVisible(true);
      tv.fitToScreen();
    }
  }
View Full Code Here

TOP

Related Classes of weka.gui.hierarchyvisualizer.HierarchyVisualizer

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.