Package io.keikai.model
Interface SSheetViewInfo
-
- All Known Implementing Classes:
SheetViewInfoImpl
public interface SSheetViewInfo
Store those visual statuses of a sheet, e.g. freeze status of row (column), or grid-line display.- Since:
- 3.5.0
- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addColumnBreak(int columnIdx)
void
addRowBreak(int rowIdx)
void
addSelectionAreas(String selectionArea)
Add the selection area.String
getActiveCell()
Returns the active cell.int[]
getColumnBreaks()
SFooter
getFooter()
SHeader
getHeader()
int
getNumOfColumnFreeze()
int
getNumOfRowFreeze()
int[]
getRowBreaks()
String
getSelectionAreas()
Returns the selection areas.boolean
isDisplayGridlines()
boolean
isTabSelected()
Returns whether the sheet tab is selected.void
setActiveCell(String activeCell)
Sets the active cell.void
setColumnBreaks(int[] breaks)
void
setDisplayGridlines(boolean enable)
void
setNumOfColumnFreeze(int num)
void
setNumOfRowFreeze(int num)
void
setRowBreaks(int[] breaks)
void
setSelectionAreas(String selectionAreas)
Sets the selection areas.void
setTabSelected(boolean tabSelected)
Sets to select the sheet tab.
-
-
-
Method Detail
-
getNumOfRowFreeze
int getNumOfRowFreeze()
-
getNumOfColumnFreeze
int getNumOfColumnFreeze()
-
setNumOfRowFreeze
void setNumOfRowFreeze(int num)
-
setNumOfColumnFreeze
void setNumOfColumnFreeze(int num)
-
isDisplayGridlines
boolean isDisplayGridlines()
-
setDisplayGridlines
void setDisplayGridlines(boolean enable)
-
getHeader
SHeader getHeader()
-
getFooter
SFooter getFooter()
-
getRowBreaks
int[] getRowBreaks()
- Returns:
- row indexes of all the horizontal page breaks
- See Also:
setRowBreaks(int[])
-
setRowBreaks
void setRowBreaks(int[] breaks)
- See Also:
getRowBreaks()
-
addRowBreak
void addRowBreak(int rowIdx)
- See Also:
getRowBreaks()
-
getColumnBreaks
int[] getColumnBreaks()
- Returns:
- column indexes of all the vertical page breaks
- See Also:
setColumnBreaks(int[])
-
setColumnBreaks
void setColumnBreaks(int[] breaks)
- See Also:
getColumnBreaks()
-
addColumnBreak
void addColumnBreak(int columnIdx)
- See Also:
getColumnBreaks()
-
setTabSelected
void setTabSelected(boolean tabSelected)
Sets to select the sheet tab.- Since:
- 5.10
-
isTabSelected
boolean isTabSelected()
Returns whether the sheet tab is selected.Default: false
- Since:
- 5.10
-
setActiveCell
void setActiveCell(String activeCell)
Sets the active cell.Default:
"A1"
- Since:
- 5.10
-
getActiveCell
String getActiveCell()
Returns the active cell.Default:
"A1"
- Since:
- 5.10
-
setSelectionAreas
void setSelectionAreas(String selectionAreas)
Sets the selection areas.- Since:
- 5.10
-
getSelectionAreas
String getSelectionAreas()
Returns the selection areas.Default:
"A1"
- Since:
- 5.10
-
addSelectionAreas
void addSelectionAreas(String selectionArea)
Add the selection area.- Since:
- 6.0.0
-
-