Examples of donneColonne()


Examples of freegressi.tableur.Tableur.donneColonne()

   * @param newName le nouveau nom
   * @param position la position de l'axe correspondant
   */
  public void notifyNameChanged(String newName, Position position){
    Tableur sheet = SpreadSheets.getInstance().getActiveSheet();
    Colonne col = sheet.donneColonne(newName);
    double min = col.getMin();
    double max = col.getMax();
    JPanelAxis jpa = bottom;
    switch (position){
      case BOTTOM : jpa = bottom; break;
View Full Code Here

Examples of freegressi.tableur.Tableur.donneColonne()

  }
 
  private void reCalculateAbscissaAxis(){
    String name = abscissaPanel.getAbscissaName();
    Tableur sheet = SpreadSheets.getInstance().getActiveSheet();
    Colonne col = sheet.donneColonne(name);
   
   
    if (bottom.isVisible()){
      if (bottom.isScaleAuto()){
        changeMinMax(bottom, col.getMin(), col.getMax());
View Full Code Here

Examples of freegressi.tableur.Tableur.donneColonne()

    Tableur sheet = SpreadSheets.getInstance().getActiveSheet();
    boolean leftWasVisible = left.isVisible(), rightWasVisible = right.isVisible();
    boolean changeLeftMinMax = true, changeRightMinMax = true;
    for (JPanelCurve jpc : panelCurves){
      name = jpc.getCurveName();
      col = sheet.donneColonne(name);
      min = col.getMin();
      max = col.getMax();
      if (jpc.getPosition() == Position.LEFT){ // Axe de gauche
        l = true;
        if (!leftWasVisible){
View Full Code Here

Examples of freegressi.tableur.Tableur.donneColonne()

        && okDouble(sheet1.donneColonne(0).getMin(), 1.0)
        && okDouble(sheet1.donneColonne(0).getMax(), 3.0)
        && sheet2.getDescription().equals("ma page 2")
        && sheet2.donneNombreColonne() == 2
        && sheet2.getRowCount() == 2
        && okDouble(sheet2.donneColonne(0).getMin(), 0.0)
        && okDouble(sheet2.donneColonne(0).getMax(), 5.0)    ){
      goods++;
    }   
  }
 
View Full Code Here

Examples of freegressi.tableur.Tableur.donneColonne()

        && okDouble(sheet1.donneColonne(0).getMax(), 3.0)
        && sheet2.getDescription().equals("ma page 2")
        && sheet2.donneNombreColonne() == 2
        && sheet2.getRowCount() == 2
        && okDouble(sheet2.donneColonne(0).getMin(), 0.0)
        && okDouble(sheet2.donneColonne(0).getMax(), 5.0)    ){
      goods++;
    }   
  }
 
  private boolean okDouble(double d1, double d2){
View Full Code Here

Examples of freegressi.tableur.Tableur.donneColonne()

  private GraphicStyle createDefaultGraphicStyle2(){
    GraphicStyle gs = new GraphicStyle();
    Tableur sh = SpreadSheets.getInstance().getActiveSheet();
    if (sh != null && sh.donneNombreColonne() > 0){
      Colonne col1, col2;
      col1 = sh.donneColonne(0);
      String xName = col1.getColonneDescription().getNom();
      gs.setAbscissa(xName);
      gs.getaX1().setAll(xName, xName, true, col1.getMin(), col1.getMax(), Position.RIGHT);
      if (sh.donneNombreColonne() > 1){
        col2 = sh.donneColonne(1);
View Full Code Here

Examples of freegressi.tableur.Tableur.donneColonne()

      col1 = sh.donneColonne(0);
      String xName = col1.getColonneDescription().getNom();
      gs.setAbscissa(xName);
      gs.getaX1().setAll(xName, xName, true, col1.getMin(), col1.getMax(), Position.RIGHT);
      if (sh.donneNombreColonne() > 1){
        col2 = sh.donneColonne(1);
      } else {
        col2 = col1;
      }
      String yName = col2.getColonneDescription().getNom();
      gs.getaY1().setAll(yName, yName, true, col2.getMin(), col2.getMax(), Position.TOP);
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.