Package data.programmation

Examples of data.programmation.Representation


       * 1 = idseance = string
       * 2 = dateseance = date
       * 3 = heure = int
       * 4 = nbplacesrestantes = int
       */
      Representation repres = new Representation(
          seancesRS.getString(1),
          seancesRS.getDate(2),
          seancesRS.getInt(3)
          );
      repres.setNbPlacesRestantes(seancesRS.getInt(4));

      lesSeances.add(repres);
    }

    return lesSeances;
View Full Code Here


   
    // Selection d'une représentation du tableau
    if(o == table.getSelectionModel()){
      if(selectedRow != -1){       
        Object tmp = table.getValueAt(selectedRow, 0);
        Representation r = (Representation)tmp;       
        this.updateInfo(r);
      }     
    }
  }
View Full Code Here

        String message = "Vous devez sélectionnez une représentation";
        GU.warn(message);
      }else{
        // On affiche le nom de la pièce
        Object value = table.getValueAt(selectedRow, 0);
        Representation rep = (Representation)value;
        //System.out.println(value);
        NtpPanel next = new SaisieInformations(p,a,res,rep,owner,this);
        this.displayScreen(next);
       
       
View Full Code Here

    Iterator it = lesRepresentations.iterator();

    int i = 0;
    /* Récupération de toutes les séances */
    while (it.hasNext()) {
      Representation r = (Representation) it.next();
      Object[] ligne = { r, r.getDateSeance(), new Integer(r.getHeure()) };
      donnees[i] = ligne;
      i++;

    }

View Full Code Here

TOP

Related Classes of data.programmation.Representation

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.