Package org.zkoss.zss.ui.event

Examples of org.zkoss.zss.ui.event.CellSelectionEvent


    int bottom = Integer.parseInt(data[5]);
   
    SpreadsheetInCtrl ctrl = ((SpreadsheetInCtrl)((Spreadsheet)comp).getExtraCtrl());
    ctrl.setSelectionRect(left,top,right,bottom);   
   
    Events.postEvent(new CellSelectionEvent(org.zkoss.zss.ui.event.Events.ON_CELL_SELECTION, comp, sheet,action,left,top,right,bottom));
  }
View Full Code Here


    int bottom = action == CellSelectionEvent.SELECT_COLUMN ? maxrow : (Integer) data.get("bottom");
   
    SpreadsheetInCtrl ctrl = ((SpreadsheetInCtrl)((Spreadsheet)comp).getExtraCtrl());
    ctrl.setSelectionRect(left, top, right, bottom)
   
    Events.postEvent(new CellSelectionEvent(org.zkoss.zss.ui.event.Events.ON_CELL_SELECTION, comp, sheet,action,left,top,right,bottom));
  }
View Full Code Here

      updateCell(sheet, left, top, right, bottom);
      final int lastrow = sheet.getLastRowNum();
      if (bottom > lastrow) {
        bottom = lastrow;
      }
      org.zkoss.zk.ui.event.Events.postEvent(new CellSelectionEvent(Events.ON_CELL_CHANGE, Spreadsheet.this, sheet, CellSelectionEvent.SELECT_CELLS, left, top, right,  bottom));
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zss.ui.event.CellSelectionEvent

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.