public class SheetImpl extends Object implements Sheet, Serializable
| Constructor and Description |
|---|
SheetImpl(ModelRef<SBook> book,
ModelRef<SSheet> sheet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Book |
getBook() |
List<Chart> |
getCharts() |
int |
getColumnFreeze()
Get number of column freeze of this sheet, 0 means no column freeze
|
int |
getColumnWidth(int column)
get column width in pixel
|
int |
getFirstColumn(int row)
Get the first column of row which contains data
|
int |
getFirstRow()
get the first row which contains data of this sheet
|
SSheet |
getInternalSheet()
get the internal model object to do advanced operation
Note : operate on internal object will not automatically update Spreadsheet |
int |
getLastColumn(int row)
Get the last column of row which contains data
|
int |
getLastRow()
get the last row which contains data of this sheet
|
SSheet |
getNative() |
List<Picture> |
getPictures() |
ModelRef<SSheet> |
getRef() |
int |
getRowFreeze()
Get number of row freeze of this sheet, 0 means no row freeze
|
int |
getRowHeight(int row)
get row height in pixel
|
String |
getSheetName() |
Object |
getSync()
Deprecated.
|
int |
hashCode() |
boolean |
isAutoFilterEnabled() |
boolean |
isColumnHidden(int column) |
boolean |
isDisplayGridlines() |
boolean |
isHidden()
Returns whether this sheet is hidden.
|
boolean |
isPrintGridlines() |
boolean |
isProtected() |
boolean |
isRowHidden(int row) |
boolean |
isVeryHidden()
Returns whether this sheet is very hidden.
|
static SheetAnchor |
toSheetAnchor(SSheet sheet,
ViewAnchor anchor)
Utility method, internal use only
|
static ViewAnchor |
toViewAnchor(SSheet sheet,
SheetAnchor anchor)
Utility method, internal use only
|
public SSheet getNative()
public SSheet getInternalSheet()
SheetgetInternalSheet in interface Sheetpublic boolean isProtected()
isProtected in interface Sheetpublic boolean isAutoFilterEnabled()
isAutoFilterEnabled in interface Sheetpublic boolean isDisplayGridlines()
isDisplayGridlines in interface Sheetpublic String getSheetName()
getSheetName in interface Sheetpublic boolean isRowHidden(int row)
isRowHidden in interface Sheetpublic boolean isColumnHidden(int column)
isColumnHidden in interface Sheetpublic List<Picture> getPictures()
getPictures in interface Sheetpublic int getRowFreeze()
SheetgetRowFreeze in interface Sheetpublic int getColumnFreeze()
SheetgetColumnFreeze in interface Sheetpublic boolean isPrintGridlines()
isPrintGridlines in interface Sheetpublic int getRowHeight(int row)
SheetgetRowHeight in interface Sheetpublic int getColumnWidth(int column)
SheetgetColumnWidth in interface Sheet@Deprecated public Object getSync()
Sheetpublic static ViewAnchor toViewAnchor(SSheet sheet, SheetAnchor anchor)
public static SheetAnchor toSheetAnchor(SSheet sheet, ViewAnchor anchor)
public int getFirstRow()
SheetgetFirstRow in interface Sheetpublic int getLastRow()
SheetgetLastRow in interface Sheetpublic int getFirstColumn(int row)
SheetgetFirstColumn in interface Sheetpublic int getLastColumn(int row)
SheetgetLastColumn in interface Sheetpublic boolean isHidden()
Sheetpublic boolean isVeryHidden()
SheetisVeryHidden in interface SheetCopyright © 2020. All rights reserved.