org.zkoss.zk.ui.event.Events.postEvent(new SheetUpdateEvent(Events.ON_SHEET_NAME_CHANGE, Spreadsheet.this, name));
}
private void onSheetCreate(SSDataEvent event) {
final String name = (String) event.getPayload();
Spreadsheet.this.smartUpdate("sheetLabels", getSheetLabels());
org.zkoss.zk.ui.event.Events.postEvent(new SheetCreateEvent(Events.ON_SHEET_CREATE, Spreadsheet.this, name));
}