public class DefaultCellCase extends java.lang.Object implements CellCase
| 构造器和说明 |
|---|
DefaultCellCase() |
DefaultCellCase(int rows,
int cols) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
__liftCellElement(Cell ce) |
void |
__nailCellElement(Cell ce) |
void |
add(Cell ce,
boolean override)
add Cell to CellCase
|
java.util.Iterator |
cellIterator() |
void |
clear()
Removes all Cells.
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o)
判断是否相等
|
Cell |
get(int column,
int row)
get Cell from position (column, row)
|
java.util.Iterator |
getColumn(int columnIndex) |
int |
getColumnCount()
get column count
|
int[] |
getColumns() |
int |
getIndexColumn(int columnIndex) |
int |
getIndexRow(int rowIndex) |
java.util.Iterator |
getRow(int rowIndex) |
int |
getRowCount()
get row count
|
int[] |
getRows() |
void |
insertColumn(int columnIndex)
insert column
|
void |
insertRow(int rowIndex)
insert row to rowIndex
|
java.util.Iterator |
intersect(int column,
int row,
int width,
int height) |
void |
recalculate()
遍历每一行,重新计算WorkSheet.columnCount, rowCount
|
void |
releaseCache() |
Cell |
removeCell(int column,
int row)
remove Cell from position (column, row)
|
int |
removeColumn(int columnIndex)
remove column
|
int |
removeRow(int rowIndex)
remove row
|
void |
toCache(int maxCount,
int activePoolCount,
boolean cacheFirst) |
public DefaultCellCase()
public DefaultCellCase(int rows,
int cols)
public void toCache(int maxCount,
int activePoolCount,
boolean cacheFirst)
public void releaseCache()
releaseCache 在接口中 CellCasepublic java.util.Iterator cellIterator()
cellIterator 在接口中 CellCasepublic java.util.Iterator intersect(int column,
int row,
int width,
int height)
public int[] getColumns()
getColumns 在接口中 CellCasepublic int getIndexColumn(int columnIndex)
getIndexColumn 在接口中 CellCasepublic int getIndexRow(int rowIndex)
getIndexRow 在接口中 CellCasepublic int getRowCount()
CellCasegetRowCount 在接口中 CellCasepublic int getColumnCount()
CellCasegetColumnCount 在接口中 CellCasepublic Cell removeCell(int column, int row)
CellCaseremoveCell 在接口中 CellCasepublic void insertColumn(int columnIndex)
CellCaseinsertColumn 在接口中 CellCasepublic void insertRow(int rowIndex)
CellCasepublic int removeColumn(int columnIndex)
CellCaseremoveColumn 在接口中 CellCasepublic int removeRow(int rowIndex)
CellCasepublic void recalculate()
CellCaserecalculate 在接口中 CellCasepublic void __nailCellElement(Cell ce)
public boolean __liftCellElement(Cell ce)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 java.lang.Objectjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public boolean equals(java.lang.Object o)
equals 在类中 java.lang.Object