Package info.textgrid.lab.noteeditor.mei2012

Examples of info.textgrid.lab.noteeditor.mei2012.Tie


   * @param endPoint
   */
  public static void renderTie(Graphics graphics, TieForm tieForm,
      Point startPoint, Point endPoint) {
    graphics.setForegroundColor(calculateVariantColor(tieForm));
    Tie tieNode = (Tie) tieForm.getMeiNode();
    boolean isAbove = true;
    if (tieNode.isSetCurvedir()) {
      isAbove = tieNode.getCurvedir().equalsIgnoreCase(
          GraphicalConstants.PROPCOMBO_STRING_ARRAY_CURVEDIR[0]);
    }
    if (startPoint != null
        && endPoint != null
        && (isVisibleArea(MusicPlugin.getDefault().getActiveEditor()
View Full Code Here


      processSlur(graphics, (SlurForm) slurForm);
    }
  }

  private void processTie(Graphics graphics, TieForm tieForm) {
    Tie tieNode = (Tie) tieForm.getMeiNode();
    String startId = tieNode.getStartid();
    String endId = tieNode.getEndid();
    if (startId != null
        && endId != null
        && this.figurePassingObject.getNoteHeadLocationMap()
            .containsKey(startId)
        && this.figurePassingObject.getNoteHeadLocationMap()
View Full Code Here

            handleScoreChild(contentChildForm, saveAllVariants));
      }
      return contentNode;
    } 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;
View Full Code Here

    getTie().unsetLayers();
    getTie().getLayers().add(new BigInteger(StringConstants.STRING_EMPTY + newLayer));
  }

  private void createDefaultTie() {
    Tie tie = new Tie();
    setMeiNode(tie);
  }
View Full Code Here

TOP

Related Classes of info.textgrid.lab.noteeditor.mei2012.Tie

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.