public class BookImpl extends Object implements Book, Serializable
Book.BookType| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBookName()
Gets the book name
|
SBook |
getInternalBook()
get the internal model object to do advanced operation
Note : operate on internal object will not automatically update Spreadsheet |
ReadWriteLock |
getLock()
Get the read-write lock of this book
|
int |
getMaxColumns() |
int |
getMaxRows() |
SBook |
getNative() |
int |
getNumberOfSheets()
Gets the number of sheet
|
ModelRef<SBook> |
getRef() |
String |
getShareScope()
Gets share scope of this book
|
SheetImpl |
getSheet(String name)
Gets sheet by sheet name
|
SheetImpl |
getSheetAt(int index)
Gets sheet by index
|
int |
getSheetIndex(Sheet sheet)
Gets the index of sheet
|
Object |
getSync()
Deprecated.
|
Book.BookType |
getType()
Gets the book type
|
int |
hashCode() |
boolean |
hasNameRange(String name)
check if this book has named range
|
void |
setShareScope(String scope)
Sets share scope of this book, the possible value is "desktop","session","application"
|
public SBook getNative()
public SBook getInternalBook()
BookgetInternalBook in interface Bookpublic String getBookName()
BookgetBookName in interface Bookpublic Book.BookType getType()
Bookpublic int getSheetIndex(Sheet sheet)
BookgetSheetIndex in interface Bookpublic int getNumberOfSheets()
BookgetNumberOfSheets in interface Bookpublic SheetImpl getSheetAt(int index)
BookgetSheetAt in interface Bookindex - index of sheetpublic SheetImpl getSheet(String name)
Bookpublic void setShareScope(String scope)
BooksetShareScope in interface Bookpublic String getShareScope()
BookgetShareScope in interface Book@Deprecated public Object getSync()
Bookpublic boolean hasNameRange(String name)
BookhasNameRange in interface Bookname - the name to checkpublic int getMaxRows()
getMaxRows in interface Bookpublic int getMaxColumns()
getMaxColumns in interface Bookpublic ReadWriteLock getLock()
BookCopyright © 2020. All rights reserved.