Examples of AffichageAccord


Examples of musicwriter.gui.partitionaffichage.AffichageAccord

    @Override
    public void mousePressed(ControllerMouseEvent evt) {
        styloEsquisse = new StyloEsquisse(getPartitionVue());
        styloEsquisse.styloPointAjouter(evt.getPoint());
       
        AffichageAccord affichageAccordDebut = getPartitionVue().getAffichageAccordAvecHampeFin(evt.getPoint());
        if(affichageAccordDebut != null)
        {
                modeChanger(new PartitionPanelModeStyleTraitCroche(getController(),
                        affichageAccordDebut));
       
View Full Code Here

Examples of musicwriter.gui.partitionaffichage.AffichageAccord

   
    private void perform()
    {
        final Set<AffichageAccord> A = getAffichageAccordConcernees();
        final Selection selection = getAccordConcernes();
        final AffichageAccord adebut = getAffichageAccordDebut();
        if(A.size() == 3 && isQueDesNoires())
               //on transforme en triolets
               {
                    getHistoire().executer(new PartitionActionSelectionVoixSet(selection, adebut.getVoix()));
                    getHistoire().executer(new PartitionActionSelectionDureeFixeChanger(getPartitionDonnees(), selection, new Duree(new Rational(1, 3))));
               }
               else if(isQueDesNoires())
               {
                    getHistoire().executer(new PartitionActionSelectionVoixSet(selection, adebut.getVoix()));
                    getHistoire().executer(new PartitionActionSelectionDureeFixeChanger(getPartitionDonnees(), selection, new Duree(new Rational(1, 2))));
               }
               else
               {
                   getHistoire().executer(new PartitionActionSelectionVoixSet(selection, adebut.getVoix()));
                   getHistoire().executer(new PartitionActionSelectionDureesEtirer(selection, new Rational(1, 2)));
               }
                getController().calculer(adebut.getAccord().getDebutMoment());
        }
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.