public class BookImpl extends java.lang.Object implements Book, java.io.Serializable
Book.BookType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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 |
java.util.concurrent.locks.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() |
java.lang.String |
getShareScope()
Gets share scope of this book
|
SheetImpl |
getSheet(java.lang.String name)
Gets sheet by sheet name
|
SheetImpl |
getSheetAt(int index)
Gets sheet by index
|
int |
getSheetIndex(Sheet sheet)
Gets the index of sheet
|
java.lang.Object |
getSync()
Deprecated.
|
Book.BookType |
getType()
Gets the book type
|
int |
hashCode() |
boolean |
hasNameRange(java.lang.String name)
check if this book has named range
|
void |
setShareScope(java.lang.String scope)
Sets share scope of this book, the possible value is "desktop","session","application"
|
public SBook getNative()
public SBook getInternalBook()
Book
getInternalBook
in interface Book
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getBookName()
Book
getBookName
in interface Book
public Book.BookType getType()
Book
public int getSheetIndex(Sheet sheet)
Book
getSheetIndex
in interface Book
public int getNumberOfSheets()
Book
getNumberOfSheets
in interface Book
public SheetImpl getSheetAt(int index)
Book
getSheetAt
in interface Book
index
- index of sheetpublic SheetImpl getSheet(java.lang.String name)
Book
public void setShareScope(java.lang.String scope)
Book
setShareScope
in interface Book
public java.lang.String getShareScope()
Book
getShareScope
in interface Book
@Deprecated public java.lang.Object getSync()
Book
public boolean hasNameRange(java.lang.String name)
Book
hasNameRange
in interface Book
name
- the name to checkpublic int getMaxRows()
getMaxRows
in interface Book
public int getMaxColumns()
getMaxColumns
in interface Book
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.