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 void
addColumnBreak(int column)
void
addRowBreak(int row)
void
addSelectionAreas(String selectionAreas)
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
-
isDisplayGridlines
public boolean isDisplayGridlines()
- Specified by:
isDisplayGridlines
in interfaceSSheetViewInfo
-
setDisplayGridlines
public void setDisplayGridlines(boolean enable)
- Specified by:
setDisplayGridlines
in interfaceSSheetViewInfo
-
getNumOfRowFreeze
public int getNumOfRowFreeze()
- Specified by:
getNumOfRowFreeze
in interfaceSSheetViewInfo
-
getNumOfColumnFreeze
public int getNumOfColumnFreeze()
- Specified by:
getNumOfColumnFreeze
in interfaceSSheetViewInfo
-
setNumOfRowFreeze
public void setNumOfRowFreeze(int num)
- Specified by:
setNumOfRowFreeze
in interfaceSSheetViewInfo
-
setNumOfColumnFreeze
public void setNumOfColumnFreeze(int num)
- Specified by:
setNumOfColumnFreeze
in interfaceSSheetViewInfo
-
getHeader
public SHeader getHeader()
- Specified by:
getHeader
in interfaceSSheetViewInfo
-
getFooter
public SFooter getFooter()
- Specified by:
getFooter
in interfaceSSheetViewInfo
-
getRowBreaks
public int[] getRowBreaks()
- Specified by:
getRowBreaks
in interfaceSSheetViewInfo
- Returns:
- row indexes of all the horizontal page breaks
- See Also:
SSheetViewInfo.setRowBreaks(int[])
-
setRowBreaks
public void setRowBreaks(int[] breaks)
- Specified by:
setRowBreaks
in interfaceSSheetViewInfo
- See Also:
SSheetViewInfo.getRowBreaks()
-
addRowBreak
public void addRowBreak(int row)
- Specified by:
addRowBreak
in interfaceSSheetViewInfo
- See Also:
SSheetViewInfo.getRowBreaks()
-
addColumnBreak
public void addColumnBreak(int column)
- Specified by:
addColumnBreak
in interfaceSSheetViewInfo
- See Also:
SSheetViewInfo.getColumnBreaks()
-
setTabSelected
public void setTabSelected(boolean tabSelected)
Description copied from interface:SSheetViewInfo
Sets to select the sheet tab.- Specified by:
setTabSelected
in interfaceSSheetViewInfo
-
isTabSelected
public boolean isTabSelected()
Description copied from interface:SSheetViewInfo
Returns whether the sheet tab is selected.Default: false
- Specified by:
isTabSelected
in interfaceSSheetViewInfo
-
setActiveCell
public void setActiveCell(String activeCell)
Description copied from interface:SSheetViewInfo
Sets the active cell.Default:
"A1"
- Specified by:
setActiveCell
in interfaceSSheetViewInfo
-
getActiveCell
public String getActiveCell()
Description copied from interface:SSheetViewInfo
Returns the active cell.Default:
"A1"
- Specified by:
getActiveCell
in interfaceSSheetViewInfo
-
setSelectionAreas
public void setSelectionAreas(String selectionAreas)
Description copied from interface:SSheetViewInfo
Sets the selection areas.- Specified by:
setSelectionAreas
in interfaceSSheetViewInfo
-
getSelectionAreas
public String getSelectionAreas()
Description copied from interface:SSheetViewInfo
Returns the selection areas.Default:
"A1"
- Specified by:
getSelectionAreas
in interfaceSSheetViewInfo
-
addSelectionAreas
public void addSelectionAreas(String selectionAreas)
Description copied from interface:SSheetViewInfo
Add the selection area.- Specified by:
addSelectionAreas
in interfaceSSheetViewInfo
-
getColumnBreaks
public int[] getColumnBreaks()
- Specified by:
getColumnBreaks
in interfaceSSheetViewInfo
- Returns:
- column indexes of all the vertical page breaks
- See Also:
SSheetViewInfo.setColumnBreaks(int[])
-
setColumnBreaks
public void setColumnBreaks(int[] breaks)
- Specified by:
setColumnBreaks
in interfaceSSheetViewInfo
- See Also:
SSheetViewInfo.getColumnBreaks()
-
-