Examples of TVModel


Examples of edu.stanford.genetics.treeview.model.TVModel

   * r * This is the workhorse. It creates a new DataModel of the file, and
   * then sets the Datamodel. A side effect of setting the datamodel is to
   * update the running window.
   */
  public void loadFileSet(FileSet fileSet) throws LoadException {
    TVModel tvModel = new TVModel();
    tvModel.setFrame(this);
    try {
      tvModel.loadNew(fileSet);
      setDataModel(tvModel);
    } catch (LoadException e) {
      if (e.getType() != LoadException.INTPARSE)
        JOptionPane.showMessageDialog(this, e);
      throw e;
View Full Code Here

Examples of edu.stanford.genetics.treeview.model.TVModel

  /**
   * To load any fileset without using the event queue thread
   */
  public void loadFileSetNW(FileSet fileSet) throws LoadException {
    TVModel tvModel = new TVModel();
    tvModel.setFrame(this);
    try {
      tvModel.loadNewNW(fileSet);
      setDataModel(tvModel);
    } catch (LoadException e) {
      if (e.getType() != LoadException.INTPARSE)
        JOptionPane.showMessageDialog(this, e);
      throw e;
View Full Code Here

Examples of edu.stanford.genetics.treeview.model.TVModel

      karyoDrawer.getKaryoColorSet().copyStateFrom(colorPresets.getDefaultColorSet());
    }

  }
  public void getGenome(FileSet fileSet) throws LoadException {
    TVModel model = new TVModel();
    model.setFrame(viewFrame);
    model.loadNew(fileSet);
    getGenome(model);
  }
View Full Code Here

Examples of edu.stanford.genetics.treeview.model.TVModel

  public static final void main(String [] argv) {
    LinkedViewApp statview = new LinkedViewApp();
    ViewFrame testf = new LinkedViewFrame(statview);

    KaryoPanel kp = new KaryoPanel(new TVModel()new TreeSelection(2), testf, new DummyConfigNode("Display Settings Panel"));
    KaryoColorPresets kcp = new KaryoColorPresets();


    DisplaySettingsPanel panel = new DisplaySettingsPanel(kp, kcp, testf);
    panel.revalidate();
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.