public interface SpreadsheetInCtrl
Modifier and Type | Method and Description |
---|---|
void |
setColumnSize(String sheetId,
int column,
int newsize,
int id,
boolean hidden)
Indicate user set the size of a column
|
void |
setFocusRect(int left,
int top,
int right,
int bottom)
Indicate user change focus rectangle
|
void |
setLoadedRect(int left,
int top,
int right,
int bottom)
Indicate user do some scroll, and change loaded rectangle.
|
void |
setRowSize(String sheetId,
int row,
int newsize,
int id,
boolean hidden,
boolean isCustom)
Indicate user set the size of a row
|
void |
setSelectedSheetDirectly(String name,
boolean cacheInClient,
int row,
int col,
int left,
int top,
int right,
int bottom,
int highlightLeft,
int highlightTop,
int highlightRight,
int highlightBottom,
int rowfreeze,
int colfreeze) |
void |
setSelectionRect(int left,
int top,
int right,
int bottom)
Indicate user change selection rectangle
|
void |
setSelType(CellSelectionType type) |
void |
setVisibleRect(int left,
int top,
int right,
int bottom)
Indicate user's visible range
|
void setColumnSize(String sheetId, int column, int newsize, int id, boolean hidden)
sheetId
- the sheet idcolumn
- the column indexnewsize
- the new sizeid
- a unique id of this customized column sizehidden
- whether this column is hiddenvoid setRowSize(String sheetId, int row, int newsize, int id, boolean hidden, boolean isCustom)
sheetId
- the sheet idrow
- the row indexnewsize
- the new sizeid
- a unique id of this customized column sizehidden
- whether this row is hiddenisCustom
- whether the size is custom (set by users) or not (determined by the component automatically)void setSelectionRect(int left, int top, int right, int bottom)
void setFocusRect(int left, int top, int right, int bottom)
void setLoadedRect(int left, int top, int right, int bottom)
void setVisibleRect(int left, int top, int right, int bottom)
left
- top
- right
- bottom
- void setSelectedSheetDirectly(String name, boolean cacheInClient, int row, int col, int left, int top, int right, int bottom, int highlightLeft, int highlightTop, int highlightRight, int highlightBottom, int rowfreeze, int colfreeze)
void setSelType(CellSelectionType type)
type
- Copyright © 2020. All rights reserved.