Package org.zkoss.zss.model.impl

Examples of org.zkoss.zss.model.impl.CellImpl


  public void testSetEditTextWithTextFormat() {
    Sheet sheet1 = ((BookImpl)_book).addSheet("sheet1", 256, 64*1024);
    assertEquals(sheet1, _book.lookupSheet("sheet1"));
 
    CellImpl cell = (CellImpl) sheet1.setCellValue(0, 0, null);
    FormatImpl format = new FormatImpl();
    format.setFormatCodes("@");
    cell.setFormat(format);
    cell.setEditText("05-15743"); //A1
    assertEquals("05-15743", cell.getText());
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zss.model.impl.CellImpl

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.