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
在接口中 CellCase
public java.util.Iterator cellIterator()
cellIterator
在接口中 CellCase
public java.util.Iterator intersect(int column, int row, int width, int height)
public int[] getColumns()
getColumns
在接口中 CellCase
public int getIndexColumn(int columnIndex)
getIndexColumn
在接口中 CellCase
public int getIndexRow(int rowIndex)
getIndexRow
在接口中 CellCase
public int getRowCount()
CellCase
getRowCount
在接口中 CellCase
public int getColumnCount()
CellCase
getColumnCount
在接口中 CellCase
public Cell removeCell(int column, int row)
CellCase
removeCell
在接口中 CellCase
public void insertColumn(int columnIndex)
CellCase
insertColumn
在接口中 CellCase
public void insertRow(int rowIndex)
CellCase
public int removeColumn(int columnIndex)
CellCase
removeColumn
在接口中 CellCase
public int removeRow(int rowIndex)
CellCase
public void recalculate()
CellCase
recalculate
在接口中 CellCase
public void __nailCellElement(Cell ce)
public boolean __liftCellElement(Cell ce)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object