public abstract class Row
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.util.List<IMergedCell> |
cells
单元格
|
protected java.util.List<Row> |
children |
protected int |
endRowNum
结束行号
|
protected int |
firstColumnNum
行中第一列
|
protected int |
lastColumnNum
行中最后一列
|
protected Row |
nextRow |
protected DataRow |
parentRow
父行必定是数据行
|
protected int |
startRowNum
开始行号
|
| 构造器和说明 |
|---|
Row() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addCell(IMergedCell cell) |
protected void |
expandRow(Row row,
int endNum)
扩张行到指定行号
|
protected int |
findNextRowNumInChildren()
找到子行中最大行的下一行号
|
java.util.List<IMergedCell> |
getCells() |
java.util.List<Row> |
getChildren() |
int |
getEndRowNum() |
int |
getFirstColumnNum() |
int |
getLastColumnNum() |
Row |
getNextRow() |
Row |
getParentRow() |
abstract RowTypeEnum |
getRowType()
获取行类型
|
int |
getStartRowNum() |
boolean |
hasRow(Row row) |
protected void |
raiseRowNum(int rowCount)
增加本行的起始行号
|
protected void |
setEndRowNum(int endRowNum) |
protected void |
setNextRow(Row row) |
void |
setParentRow(DataRow parentRow) |
protected void |
setStartRowNum(int startRowNum) |
protected int startRowNum
protected int endRowNum
protected int firstColumnNum
protected int lastColumnNum
protected java.util.List<IMergedCell> cells
protected DataRow parentRow
protected java.util.List<Row> children
protected Row nextRow
public abstract RowTypeEnum getRowType()
protected void addCell(IMergedCell cell)
protected void expandRow(Row row, int endNum)
row - 行endNum - 结束行号protected int findNextRowNumInChildren()
protected void raiseRowNum(int rowCount)
rowCount - 行数public boolean hasRow(Row row)
public java.util.List<IMergedCell> getCells()
public int getStartRowNum()
protected void setStartRowNum(int startRowNum)
public int getEndRowNum()
protected void setEndRowNum(int endRowNum)
public Row getParentRow()
public void setParentRow(DataRow parentRow)
public java.util.List<Row> getChildren()
public Row getNextRow()
protected void setNextRow(Row row)
public int getFirstColumnNum()
public int getLastColumnNum()