public interface WidgetLoader extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addChartWidget(SSheet sheet,
SChart chart)
call when spreadsheet try to load a block of cell to client side.
|
void |
addPictureWidget(SSheet sheet,
SPicture picture) |
void |
deleteChartWidget(SSheet sheet,
String chartId) |
void |
deletePictureWidget(SSheet sheet,
String pictureId) |
void |
init(Spreadsheet spreadsheet)
Initial a widget loader with a spreadsheet
|
void |
invalidate()
indicate the spreadsheet is invalidated.
|
void |
onColumnChange(SSheet sheet,
int left,
int right) |
void |
onRowChange(SSheet sheet,
int top,
int bottom) |
void |
onSheetClean(SSheet sheet)
indicate the sheet is dis-selected
|
void |
onSheetFreeze(SSheet sheet)
indicate the sheet's freeze panel is changed.
|
void |
onSheetSelected(SSheet sheet)
indicate the selected sheet of a spreadsheet is changed.
|
void |
updateChartWidget(SSheet sheet,
SChart chart) |
void |
updatePictureWidget(SSheet sheet,
SPicture picture) |
void init(Spreadsheet spreadsheet)
spreadsheet
- void invalidate()
void onSheetSelected(SSheet sheet)
sheet
- void onSheetClean(SSheet sheet)
sheet
- void onSheetFreeze(SSheet sheet)
sheet
- void addChartWidget(SSheet sheet, SChart chart)
void onColumnChange(SSheet sheet, int left, int right)
void onRowChange(SSheet sheet, int top, int bottom)
Copyright © 2020. All rights reserved.