Examples of Cell


Examples of Modell.Cell

            /*
             * Mezok elkeszitese
             */
            border_in = new Border();
            border_out = new Border();
            cells.add(new Cell());
            cells.add(new Cell());

            //kifelé irányú szomszédok
            ch.PrintCaller("Game", this, "border_in", "AddNeighbour_out");
            border_in.AddNeighbour_out(border_out);
            ch.PrintReturnTarget("Game", this);
View Full Code Here

Examples of avian.Cell

  public String toString() {
    return avian.Data.toString(this);
  }

  public boolean add(T value) {
    PersistentSet.Path<Cell<T>> p = set.find(new Cell(value, null));
    if (p.fresh()) {
      set = p.add();
      return true;
    }
    return false;
View Full Code Here

Examples of bad.robot.excel.cell.Cell

        return new CellInRowMatcher(expected);
    }

    @Override
    protected boolean matchesSafely(Row row, Description mismatch) {
        Cell actual = adaptPoi(row.getCell(columnIndex));

        if (!expected.equals(actual)) {
            mismatch.appendText("cell at ").appendValue(coordinate).appendText(" contained ").appendValue(actual).appendText(" expected ").appendValue(expected);
            return false;
        }
View Full Code Here

Examples of br.net.woodstock.rockframework.document.spreadsheet.Cell

      sheet.getRows().add(r);
    }
  }

  private void handleCell(final Row row, final org.apache.poi.ss.usermodel.Cell cell) {
    Cell c = new Cell();

    if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_BLANK) {
      c.setValue(cell.getStringCellValue());
      c.setType(CellType.BLANK);
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_BOOLEAN) {
      c.setValue(Boolean.valueOf(cell.getBooleanCellValue()));
      c.setType(CellType.BOOLEAN);
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_ERROR) {
      c.setValue(Byte.valueOf(cell.getErrorCellValue()));
      c.setType(CellType.ERROR);
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_FORMULA) {
      c.setValue(cell.getCellFormula());
      c.setType(CellType.FORMULA);
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_NUMERIC) {
      c.setValue(Double.valueOf(cell.getNumericCellValue()));
      c.setType(CellType.NUMERIC);
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_STRING) {
      c.setValue(cell.getStringCellValue());
      c.setType(CellType.TEXT);
    }

    row.getCells().add(c);
  }
View Full Code Here

Examples of br.net.woodstock.rockframework.office.spreadsheet.Cell

    }
    sheet.getRows().add(r);
  }

  private void handleCell(final Row row, final org.apache.poi.ss.usermodel.Cell cell) {
    Cell c = new Cell();

    String value = "";

    if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_BLANK) {
      value = cell.getStringCellValue();
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_BOOLEAN) {
      value = Boolean.toString(cell.getBooleanCellValue());
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_ERROR) {
      value = Byte.toString(cell.getErrorCellValue());
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_FORMULA) {
      value = cell.getCellFormula();
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_NUMERIC) {
      value = Double.toString(cell.getNumericCellValue());
    } else if (cell.getCellType() == org.apache.poi.ss.usermodel.Cell.CELL_TYPE_STRING) {
      value = cell.getStringCellValue();
    }

    c.setValue(value);

    row.getCells().add(c);
  }
View Full Code Here

Examples of cn.com.hotmaze.util.Cell

   * check this player can move to this target
   */
  @Override
  public boolean canMoveToTarget(Vec2 target) {
    // TODO Auto-generated method stub
    Cell cell = map.getCellInfoByVec(target);
    if(cell.getTerrain() == 0){
      return true;
    }else if(cell.getTerrain() == 1){
      return false;
    }
   
    return false;
  }
View Full Code Here

Examples of co.nubetech.crux.view.Cell

    ArrayList<Cell> cellList = new ArrayList<Cell>();
    int i = 0;
    for (ReportDesign reportDesign : reportDesignList) {
      if (reportDesign.getRowAlias() != null) {
        RowAlias rowAlias = reportDesign.getRowAlias();
        cellList.add(new Cell(rowAlias.getAlias(), r.get(i)));
      } else if (reportDesign.getColumnAlias() != null) {
        ColumnAlias columnAlias = reportDesign.getColumnAlias();
        cellList.add(new Cell(columnAlias.getAlias(),
            r.get(i)));
      }
      i++;
    }
    return cellList;
View Full Code Here

Examples of collage.grid.Cell

        FeatureSet nearest;
        List<Cell> newCells = new ArrayList<Cell>();
       
        for (Cell srcCell : srcCells) {
          nearest = nn.find(srcCell.getFeatures(), candidates);
          newCells.add(new Cell(srcCell.getBounds(),nearest));
        }
       
        //CollageImage ci = new CollageImage(newCells,img);
       
        frame.getContentPane().removeAll();
View Full Code Here

Examples of com.aspose.cells.Cell

    Worksheet worksheet = worksheets.add("My Worksheet");
   
    Cells cells = worksheet.getCells();

    //Adding some value to cell
    Cell cell = cells.get("A1");
    cell.setValue("This is Aspose test of fonts!");

    //Saving the Excel file
      workbook.save("data/xlsx4j/newWorksheet_Aspose.xls");
     
      //Print Message
View Full Code Here

Examples of com.aspose.words.Cell

          false);
      wordDocBuilder.writeln();
      // Add a table
      wordDocBuilder.startTable();
      // --Row 1 with 2 cell
      Cell cell = wordDocBuilder.insertCell();
      cell.getCellFormat().setVerticalAlignment(
          CellVerticalAlignment.CENTER);
      wordDocBuilder.writeln("Row 1 Cell 1 Text");
      cell = wordDocBuilder.insertCell();
      cell.getCellFormat().setVerticalAlignment(
          CellVerticalAlignment.CENTER);
      wordDocBuilder.writeln("Row 1 Cell 2 Text");
      wordDocBuilder.endRow();
      // --Row 2 with 2 cell
      cell = wordDocBuilder.insertCell();
      cell.getCellFormat().setVerticalAlignment(
          CellVerticalAlignment.BOTTOM);
      wordDocBuilder.writeln("Row 2 Cell 1 Text");
      cell = wordDocBuilder.insertCell();
      cell.getCellFormat()
          .setVerticalAlignment(CellVerticalAlignment.TOP);
      wordDocBuilder.writeln("Row 2 Cell 2 Text");
      wordDocBuilder.endRow();
      // --Row 3 with 3 cell merged
      cell = wordDocBuilder.insertCell();
      cell.getCellFormat().setVerticalAlignment(
          CellVerticalAlignment.CENTER);
      cell.getCellFormat().setOrientation(TextOrientation.HORIZONTAL);
      cell.getCellFormat().setHorizontalMerge(CellMerge.FIRST);
      wordDocBuilder.writeln("Row 3 Cell 3 Text");
      cell = wordDocBuilder.insertCell();
      cell.getCellFormat().setHorizontalMerge(CellMerge.PREVIOUS);
      wordDocBuilder.endRow();
      wordDocBuilder.endTable();
      // Add Comment
      Comment comment = new Comment(wordDoc);
      comment.setAuthor("D.Righetto");
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.