Package edu.stanford.genetics.treeview

Examples of edu.stanford.genetics.treeview.ConfigNode


    /**
     * returns the color set for the ith preset
     * or null, if any exceptions are thrown.
     */
    public ScatterColorSet getColorSet(int index) {
        ConfigNode aconfigNode[] = root.fetch("ScatterColorSet");
    try {
      ScatterColorSet ret = new ScatterColorSet();
      ret.bindConfig(aconfigNode[index]);
      return ret;
    } catch (Exception e) {
View Full Code Here


    /**
     * returns the color set for this name
     * or null, if name not found in kids
     */
   public ScatterColorSet getColorSet(String name) {
     ConfigNode aconfigNode[] = root.fetch("ScatterColorSet");
     ScatterColorSet ret = new ScatterColorSet();
     for (int i = 0; i < aconfigNode.length; i++) {
     ret.bindConfig(aconfigNode[i]);
     if (name.equals(ret.getName()))  {
       return ret;
View Full Code Here

    }

    }

  public void removeColorSet(int i) {
     ConfigNode aconfigNode[] = root.fetch("ScatterColorSet");
     root.remove(aconfigNode[i]);
  }
View Full Code Here

TOP

Related Classes of edu.stanford.genetics.treeview.ConfigNode

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.