Package io.keikai.model.impl
Class SheetViewInfoImpl
java.lang.Object
io.keikai.model.impl.SheetViewInfoImpl
- All Implemented Interfaces:
SSheetViewInfo,Serializable
- Since:
- 3.5.0
- Author:
- Dennis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumnBreak(int column) voidaddRowBreak(int row) voidaddSelectionAreas(String selectionAreas) Add the selection area.Returns the active cell.int[]intintint[]Returns the selection areas.booleanbooleanReturns whether the sheet tab is selected.voidsetActiveCell(String activeCell) Sets the active cell.voidsetColumnBreaks(int[] breaks) voidsetDisplayGridlines(boolean enable) voidsetNumOfColumnFreeze(int num) voidsetNumOfRowFreeze(int num) voidsetRowBreaks(int[] breaks) voidsetSelectionAreas(String selectionAreas) Sets the selection areas.voidsetTabSelected(boolean tabSelected) Sets to select the sheet tab.
-
Constructor Details
-
SheetViewInfoImpl
public SheetViewInfoImpl()
-
-
Method Details
-
isDisplayGridlines
public boolean isDisplayGridlines()- Specified by:
isDisplayGridlinesin interfaceSSheetViewInfo
-
setDisplayGridlines
public void setDisplayGridlines(boolean enable) - Specified by:
setDisplayGridlinesin interfaceSSheetViewInfo
-
getNumOfRowFreeze
public int getNumOfRowFreeze()- Specified by:
getNumOfRowFreezein interfaceSSheetViewInfo
-
getNumOfColumnFreeze
public int getNumOfColumnFreeze()- Specified by:
getNumOfColumnFreezein interfaceSSheetViewInfo
-
setNumOfRowFreeze
public void setNumOfRowFreeze(int num) - Specified by:
setNumOfRowFreezein interfaceSSheetViewInfo
-
setNumOfColumnFreeze
public void setNumOfColumnFreeze(int num) - Specified by:
setNumOfColumnFreezein interfaceSSheetViewInfo
-
getHeader
- Specified by:
getHeaderin interfaceSSheetViewInfo
-
getRowBreaks
public int[] getRowBreaks()- Specified by:
getRowBreaksin interfaceSSheetViewInfo- Returns:
- row indexes of all the horizontal page breaks
- See Also:
-
setRowBreaks
public void setRowBreaks(int[] breaks) - Specified by:
setRowBreaksin interfaceSSheetViewInfo- See Also:
-
addRowBreak
public void addRowBreak(int row) - Specified by:
addRowBreakin interfaceSSheetViewInfo- See Also:
-
addColumnBreak
public void addColumnBreak(int column) - Specified by:
addColumnBreakin interfaceSSheetViewInfo- See Also:
-
setTabSelected
public void setTabSelected(boolean tabSelected) Description copied from interface:SSheetViewInfoSets to select the sheet tab.- Specified by:
setTabSelectedin interfaceSSheetViewInfo
-
isTabSelected
public boolean isTabSelected()Description copied from interface:SSheetViewInfoReturns whether the sheet tab is selected.Default: false
- Specified by:
isTabSelectedin interfaceSSheetViewInfo
-
setActiveCell
Description copied from interface:SSheetViewInfoSets the active cell.Default:
"A1"- Specified by:
setActiveCellin interfaceSSheetViewInfo
-
getActiveCell
Description copied from interface:SSheetViewInfoReturns the active cell.Default:
"A1"- Specified by:
getActiveCellin interfaceSSheetViewInfo
-
setSelectionAreas
Description copied from interface:SSheetViewInfoSets the selection areas.- Specified by:
setSelectionAreasin interfaceSSheetViewInfo
-
getSelectionAreas
Description copied from interface:SSheetViewInfoReturns the selection areas.Default:
"A1"- Specified by:
getSelectionAreasin interfaceSSheetViewInfo
-
addSelectionAreas
Description copied from interface:SSheetViewInfoAdd the selection area.- Specified by:
addSelectionAreasin interfaceSSheetViewInfo
-
getColumnBreaks
public int[] getColumnBreaks()- Specified by:
getColumnBreaksin interfaceSSheetViewInfo- Returns:
- column indexes of all the vertical page breaks
- See Also:
-
setColumnBreaks
public void setColumnBreaks(int[] breaks) - Specified by:
setColumnBreaksin interfaceSSheetViewInfo- See Also:
-