public void majLegendeCouleurs(Map<PlageHoraire, Color> colorsPL) {
        legendeCouleurs.setText("Pas de plages horaires chargées");
        
        String text = "";
        for (Map.Entry<PlageHoraire,Color> entry : colorsPL.entrySet()){
            PlageHoraire pl = entry.getKey();
            Color couleur = entry.getValue();
            if(couleur == Color.CYAN){
                text += "Cyan : " + sdf.format(pl.getHeureDebut()) + " -> " + sdf.format(pl.getHeureFin()) + "\n";
            }
            else if(couleur == Color.YELLOW){
                text += "Jaune : " + sdf.format(pl.getHeureDebut()) + " -> " + sdf.format(pl.getHeureFin()) + "\n";
            }
            else if(couleur == Color.PINK){
                text += "Rose : " + sdf.format(pl.getHeureDebut()) + " -> " + sdf.format(pl.getHeureFin()) + "\n";
            }
            else if(couleur == Color.WHITE){
                text += "Blanc : " + sdf.format(pl.getHeureDebut()) + " -> " + sdf.format(pl.getHeureFin()) + "\n";
            }
            else if(couleur == Color.BLACK){
                text += "Noir : " + sdf.format(pl.getHeureDebut()) + " -> " + sdf.format(pl.getHeureFin()) + "\n";
            }
            else if(couleur == Color.LIGHT_GRAY){
                text += "Gris clair : " + sdf.format(pl.getHeureDebut()) + " -> " + sdf.format(pl.getHeureFin()) + "\n";
            }
        }
        
        if(!text.equals(""))     legendeCouleurs.setText(text);
        
    }