Package org.zkoss.zss.model

Examples of org.zkoss.zss.model.Size


        if(oleft<0 || otop <0){
          throw new UiException("Unsupported: delete merge at :"+oleft+","+otop);
        }
        ((ExtraCtrl)getExtraCtrl()).deleteMergeCell(sheet, oleft, otop, oright, obottom);
      }else if(SSDataEvent.SIZE_CHANGE == type){
        Size size = event.getSize();
        if(top==-1){
          int width = size.getWidth();
          HeaderPositionHelper posHelper = getColumnPositionHelper(sheet);
          int[] meta = posHelper.getMeta(left);
          if(meta==null || meta[1]!=width){
            int id = meta==null?_custColId.next():meta[2];
            posHelper.setCustomizedSize(left, width,id);
            ((ExtraCtrl)getExtraCtrl()).setColumnWidth(sheet,left,width,id);
          }
        }else if(left==-1){
          int height = size.getHeight();
          HeaderPositionHelper posHelper = getRowPositionHelper(sheet);
          int[] meta = posHelper.getMeta(top);
          if(meta==null || meta[1]!=height){
            int id =  meta==null?_custRowId.next():meta[2];
            posHelper.setCustomizedSize(top, height,id);
View Full Code Here

TOP

Related Classes of org.zkoss.zss.model.Size

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.