Examples of CellCacheAggeration


Examples of org.zkoss.test.zss.CellCacheAggeration

    int tRow = 12;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration src = builder.down().build();
   
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    click(".zstbtn-del .zstbtn-arrow");
    click(".zsmenu-deleteCell");
    click(".zsmenuitem-shiftCellUp");
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    //exam whole row is inefficient, expend 5 cells to check
    CellCacheAggeration src = builder.down().expandRight(5).build();
   
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    click(".zstbtn-del .zstbtn-arrow");
    click(".zsmenuitem-deleteSheetRow");
   
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    //exam whole row is inefficient, expend 5 cells to check
    CellCacheAggeration src = builder.right().expandDown(5).build();
   
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    click(".zstbtn-del .zstbtn-arrow");
    click(".zsmenuitem-deleteSheetColumn");
   
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int lCol = 10;
    int bRow = 16;
    int rCol = 11;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    CellCacheAggeration borderComparsionCache = builder.expand(1).build();
   
    click(".zstbtn-border");
   
    verifyBorder(BorderType.BOTTOM, "#000000", tRow, lCol, bRow, rCol, borderComparsionCache);
  }
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  }
 
  private void setBorderWithColorAndVerify(BorderType border, int tRow, int lCol, int bRow, int rCol) {
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    CellCacheAggeration borderComparsionCache = builder.expand(1).build("border");
    Color color = selectAnotherBorderColor();
   
    click(".zstbtn-border .zstbtn-arrow");
    click(".zsmenuitem-" + border.toString());
   
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  public void cell_border() {
    int tRow = 12;
    int lCol = 5;
    int bRow = 15;
    int rCol = 8;
    CellCacheAggeration cache = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
   
    click(".zsstylepanel .zstbtn-border .zstbtn-arrow");
    click(".zsmenuitem-" + BorderType.ALL.toString());
   
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int tRow = 11;
    int lCol = 5;
    int bRow = 16;
    int rCol = 5;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration copyFrom = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenuitem-cut");
   
    spreadsheet.focus(11, 10);
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int tRow = 11;
    int lCol = 5;
    int bRow = 16;
    int rCol = 5;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration copyFrom = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenuitem-copy");
   
    spreadsheet.focus(11, 10);
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int tRow = 11;
    int lCol = 5;
    int bRow = 16;
    int rCol = 5;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration copyFrom = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenuitem-copy");
   
    spreadsheet.focus(11, 10);
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    int tRow = 12;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration src = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-insert");
    click(".z-menupopup:visible .zsmenuitem-shiftCellRight");
   
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.