Package info.textgrid.lab.noteeditor.model

Examples of info.textgrid.lab.noteeditor.model.SlurForm


    } else if (childForm instanceof TieForm) {
      TieForm contentForm = (TieForm) childForm;
      Tie contentNode = (Tie) contentForm.getMeiNode();
      return contentNode;
    } else if (childForm instanceof SlurForm) {
      SlurForm contentForm = (SlurForm) childForm;
      Slur contentNode = (Slur) contentForm.getMeiNode();
      return contentNode;
    } else if (childForm instanceof FermataForm) {
      FermataForm contentForm = (FermataForm) childForm;
      Fermata contentNode = (Fermata) contentForm.getMeiNode();
      return contentNode;
    } else {
      // write back a node of a currently unknown type
      UnknownMeiNodeForm contentForm = (UnknownMeiNodeForm) childForm;
      return contentForm.getMeiNode();
    }
  }
View Full Code Here


    tieForm.setParent(parentForm);
    return tieForm;
  }
 
  private static BasicElement handleSlur(Slur slur, BasicElement parentForm) {
    SlurForm slurForm = new SlurForm();
    slurForm.setMeiNode(slur);
    slurForm.setParent(parentForm);
    return slurForm;
  }
View Full Code Here

    return candidate.equals(SlurForm.class);
  }

  @Override
  public void run() {
    this.child = new SlurForm();
    super.run();
  }
View Full Code Here

TOP

Related Classes of info.textgrid.lab.noteeditor.model.SlurForm

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.