Package io.keikai.ui.sys
Interface SpreadsheetInCtrl
-
public interface SpreadsheetInCtrl
Special controller interface for controlling client to server behavior. Only spreadsheet developer need to use this interface. (All method start should with in prefix to represent a client side update)- Author:
- Dennis.Chen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSelectionRect(int left, int top, int right, int bottom)
Indicate user change multiple selection rectanglevoid
addSelectionRect(int left, int top, int right, int bottom, CellSelectionType type)
Indicate user change multiple selection rectanglevoid
setColumnSize(String sheetId, int column, int newsize, int id, boolean hidden)
Indicate user set the size of a columnvoid
setFocusRect(int left, int top, int right, int bottom)
Indicate user change focus rectanglevoid
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 rowvoid
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 rectanglevoid
setSelType(CellSelectionType type)
void
setVisibleRect(int left, int top, int right, int bottom)
Indicate user's visible range
-
-
-
Method Detail
-
setColumnSize
void setColumnSize(String sheetId, int column, int newsize, int id, boolean hidden)
Indicate user set the size of a column- Parameters:
sheetId
- the sheet idcolumn
- the column indexnewsize
- the new sizeid
- a unique id of this customized column sizehidden
- whether this column is hidden
-
setRowSize
void setRowSize(String sheetId, int row, int newsize, int id, boolean hidden, boolean isCustom)
Indicate user set the size of a row- Parameters:
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)
-
setSelectionRect
void setSelectionRect(int left, int top, int right, int bottom)
Indicate user change selection rectangle
-
setFocusRect
void setFocusRect(int left, int top, int right, int bottom)
Indicate user change focus rectangle
-
setLoadedRect
void setLoadedRect(int left, int top, int right, int bottom)
Indicate user do some scroll, and change loaded rectangle.
-
setVisibleRect
void setVisibleRect(int left, int top, int right, int bottom)
Indicate user's visible range- Parameters:
left
-top
-right
-bottom
-
-
setSelectedSheetDirectly
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)
-
setSelType
void setSelType(CellSelectionType type)
- Parameters:
type
-- Since:
- 3.8.3
-
addSelectionRect
void addSelectionRect(int left, int top, int right, int bottom)
Indicate user change multiple selection rectangle- Since:
- 6.0.0
-
addSelectionRect
void addSelectionRect(int left, int top, int right, int bottom, CellSelectionType type)
Indicate user change multiple selection rectangle- Since:
- 6.0.0
-
-