public interface CellElementCase extends CellElementCaseGetter
限定符和类型 | 方法和说明 |
---|---|
CellElement |
getCellElement(int column,
int row)
Gets the Cell at the specified position(column, row).
|
java.lang.Object |
getCellValue(int column,
int row)
获取指定行列的单元格值
|
java.util.Iterator |
getColumn(int columnIndex)
获取指定列的遍历迭代器
|
void |
insertColumn(int columnIndex)
Inserts column.
|
void |
insertRow(int rowIndex)
Inserts row.
|
java.util.Iterator |
intersect(int column,
int row,
int width,
int height) |
void |
merge(int rowFrom,
int rowTo,
int colFrom,
int colTo)
Merge cell elements intersects the rectangle
|
void |
removeAllCellElements()
移除所有的单元格
|
CellElement |
removeCellElement(int column,
int row)
Removes the Cell at the specified (column, row) and gets the removed Cell.
|
void |
removeColumn(int columnIndex)
移除指定的列
|
void |
removeRow(int rowIndex)
移除指定的行
|
void |
setCellValue(int column,
int row,
java.lang.Object newValue)
设置指定行列的单元格新值
|
void |
setColumnWidth(int column,
UNIT newValue)
设置指定索引列的列宽
|
void |
setRowHeight(int row,
UNIT newValue)
设置指定索引行的高度
|
cellIterator, getColumnCount, getColumnWidth, getRow, getRowCount, getRowHeight
void setColumnWidth(int column, UNIT newValue)
column
- 指定索引newValue
- 新值void setRowHeight(int row, UNIT newValue)
row
- 指定索引newValue
- 新值void insertColumn(int columnIndex)
columnIndex
- the index of column.void insertRow(int rowIndex)
rowIndex
- the index of row.void removeColumn(int columnIndex)
指定的列索引
- void removeRow(int rowIndex)
指定的行索引
- void setCellValue(int column, int row, java.lang.Object newValue)
column
- 列row
- 行newValue
- 新值java.lang.Object getCellValue(int column, int row)
column
- 列row
- 行CellElement getCellElement(int column, int row)
column
- the column.row
- the row.java.util.Iterator getColumn(int columnIndex)
columnIndex
- 指定的索引CellElement removeCellElement(int column, int row)
void removeAllCellElements()
void merge(int rowFrom, int rowTo, int colFrom, int colTo)
rowFrom
- rowTo
- colFrom
- colTo
- java.util.Iterator intersect(int column, int row, int width, int height)