Examples of Cell


Examples of com.google.gwt.user.client.ui.HTMLTable.Cell

        return gridLoaded;
    }

    @Override
    public void onClick(ClickEvent event) {
        Cell cell = grid.getCellForEvent(event);
        if (cell == null) {
            return;
        }

        selectedY = cell.getRowIndex();
        selectedX = cell.getCellIndex();
    }
View Full Code Here

Examples of com.google.gwt.widgetideas.datepicker.client.SimpleCalendarView.CellGrid.Cell

    firstDisplayed = getModel().getFirstDayOfCurrentFirstWeek();

    lastDisplayed.setTime(firstDisplayed.getTime());

    for (int i = 0; i < grid.cellList.size(); i++) {
      Cell cell = grid.cellList.get(i);
      cell.update(lastDisplayed);
      CalendarModel.shiftDays(lastDisplayed, 1);
    }
  }
View Full Code Here

Examples of com.google.refine.model.Cell

    @Test
    public void ensureColumnsInRowExistDoesExpand(){
        Row row = new Row(4);
        for(int i = 1; i < 5; i++) {
            row.cells.add(new Cell("value" + i, null));
        }

        ArrayList<String> columnNames = new ArrayList<String>(2);

View Full Code Here

Examples of com.haulmont.yarg.formatters.impl.xls.Cell

        List<HSSFClientAnchor> list = getAllAnchors(getEscherAggregate(templateSheet));

        int i = 0;
        if (CollectionUtils.isNotEmpty(orderedPicturesId)) {//just a shitty workaround for anchors without pictures
            for (HSSFClientAnchor anchor : list) {
                Cell topLeft = getCellFromTemplate(new Cell(anchor.getCol1(), anchor.getRow1()));
                anchor.setCol1(topLeft.getCol());
                anchor.setRow1(topLeft.getRow());

                anchor.setCol2(topLeft.getCol() + anchor.getCol2() - anchor.getCol1());
                anchor.setRow2(topLeft.getRow() + anchor.getRow2() - anchor.getRow1());

                HSSFPatriarch sheetPatriarch = drawingPatriarchsMap.get(resultSheet);
                if (sheetPatriarch != null) {
                    sheetPatriarch.createPicture(anchor, orderedPicturesId.get(i++));
                }
View Full Code Here

Examples of com.jacobpatterson.csci446.program1.core.Cell

    int unit = konaneCanvas.getUnit();
    pressedX /= unit;
    pressedY /= unit;
    int releasedX = event.getX() / unit;
    int releasedY = event.getY() / unit;
    if(konaneGame.makeMove(new Cell(pressedX, pressedY),
        new Cell(releasedX, releasedY)))
    {
      konaneEventRegistry.fireEvent(KonaneEvent.MOVE_MADE);
      if(konaneGame.isOver())
      {
        konaneEventRegistry.fireEvent(KonaneEvent.GAME_OVER);
View Full Code Here

Examples of com.l2client.navigation.Cell

  private Entity createEntity(Vector3f pos) {

    Entity e = EntityManager.get().createEntity(id++);
    if (e != null) {
      Cell c = Singleton.get().getNavManager().FindClosestCell(pos, false);
      pc = new PositioningComponent();
      if (c != null) {
        pc.cell = c.getId();
        c.MapVectorHeightToCell(pos);
      }
      pc.position.set(pos);
      pc.heightOffset = 1f;
     
      em.addComponent(e.getId(), pc);
View Full Code Here

Examples of com.lowagie.text.Cell

  {
    final Dimension dimension = table.getDimension();
    if (x + cs > dimension.width) throw new IllegalStateException();
    if (y + rs > dimension.height) throw new IllegalStateException();

    Cell cell = new RtfCell();
    cell.setColspan(cs);
    cell.setRowspan(rs);
    table.addCell(cell, y, x);

    for (int col = 0; col < cs; col++)
    {
      for (int row = 0; row < rs; row++)
View Full Code Here

Examples of com.narirelays.ems.persistence.orm.Cell

      return result;
    }

    try{
      CellId cellID = new CellId(rowNum, colNum, templateID, sheetNum);
      Cell cell = new Cell(cellID, template);     
      BeanUtils.populate(cell, properties);
      if(queryType.equalsIgnoreCase("manual"))
      {
        //人工设置时,要创建一个id放入measureID,详见设计文档
        cell.setMeasureId(MyUUIDGen.getUUID());
      }
      cellDAO.merge(cell);
      result.setSucceed();
    }
    catch(Exception e)
View Full Code Here

Examples of com.subgraph.orchid.Cell

    return myAddress;
  }
 
  protected Cell expectCell(Integer... expectedTypes) throws ConnectionHandshakeException {
    try {
      final Cell c = connection.readConnectionControlCell();
      for(int t: expectedTypes) {
        if(c.getCommand() == t) {
          return c;
        }
      }
      final List<Integer> expected = Arrays.asList(expectedTypes);
      throw new ConnectionHandshakeException("Expecting Cell command "+ expected + " and got [ "+ c.getCommand() +" ] instead");
    } catch (ConnectionIOException e) {
      throw new ConnectionHandshakeException("Connection exception while performing handshake "+ e);
    }
  }
View Full Code Here

Examples of com.vaadin.client.ui.VGridLayout.Cell

        getLayoutManager().unregisterDependency(this,
                layout.spacingMeasureElement);

        // Unregister caption size dependencies
        for (ComponentConnector child : getChildComponents()) {
            Cell cell = layout.widgetToCell.get(child.getWidget());
            cell.slot.setCaption(null);
        }
    }
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.