Package io.keikai.model.impl
Class SheetViewInfoImpl
- java.lang.Object
-
- io.keikai.model.impl.SheetViewInfoImpl
-
- All Implemented Interfaces:
SSheetViewInfo,Serializable
public class SheetViewInfoImpl extends Object implements SSheetViewInfo, Serializable
- Since:
- 3.5.0
- Author:
- Dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SheetViewInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumnBreak(int column)voidaddRowBreak(int row)voidaddSelectionAreas(String selectionAreas)Add the selection area.StringgetActiveCell()Returns the active cell.int[]getColumnBreaks()SFootergetFooter()SHeadergetHeader()intgetNumOfColumnFreeze()intgetNumOfRowFreeze()int[]getRowBreaks()StringgetSelectionAreas()Returns the selection areas.booleanisDisplayGridlines()booleanisTabSelected()Returns 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.
-
-
-
Method Detail
-
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
public SHeader getHeader()
- Specified by:
getHeaderin interfaceSSheetViewInfo
-
getFooter
public SFooter getFooter()
- Specified by:
getFooterin interfaceSSheetViewInfo
-
getRowBreaks
public int[] getRowBreaks()
- Specified by:
getRowBreaksin interfaceSSheetViewInfo- Returns:
- row indexes of all the horizontal page breaks
- See Also:
SSheetViewInfo.setRowBreaks(int[])
-
setRowBreaks
public void setRowBreaks(int[] breaks)
- Specified by:
setRowBreaksin interfaceSSheetViewInfo- See Also:
SSheetViewInfo.getRowBreaks()
-
addRowBreak
public void addRowBreak(int row)
- Specified by:
addRowBreakin interfaceSSheetViewInfo- See Also:
SSheetViewInfo.getRowBreaks()
-
addColumnBreak
public void addColumnBreak(int column)
- Specified by:
addColumnBreakin interfaceSSheetViewInfo- See Also:
SSheetViewInfo.getColumnBreaks()
-
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
public void setActiveCell(String activeCell)
Description copied from interface:SSheetViewInfoSets the active cell.Default:
"A1"- Specified by:
setActiveCellin interfaceSSheetViewInfo
-
getActiveCell
public String getActiveCell()
Description copied from interface:SSheetViewInfoReturns the active cell.Default:
"A1"- Specified by:
getActiveCellin interfaceSSheetViewInfo
-
setSelectionAreas
public void setSelectionAreas(String selectionAreas)
Description copied from interface:SSheetViewInfoSets the selection areas.- Specified by:
setSelectionAreasin interfaceSSheetViewInfo
-
getSelectionAreas
public String getSelectionAreas()
Description copied from interface:SSheetViewInfoReturns the selection areas.Default:
"A1"- Specified by:
getSelectionAreasin interfaceSSheetViewInfo
-
addSelectionAreas
public void addSelectionAreas(String selectionAreas)
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:
SSheetViewInfo.setColumnBreaks(int[])
-
setColumnBreaks
public void setColumnBreaks(int[] breaks)
- Specified by:
setColumnBreaksin interfaceSSheetViewInfo- See Also:
SSheetViewInfo.getColumnBreaks()
-
-