public class DataRow extends Object
构造器和说明 |
---|
DataRow() |
限定符和类型 | 方法和说明 |
---|---|
void |
addDataCell(DataCell cell) |
void |
addDataCell(String content,
int ctype)
示例:
DataRecord dr = new DataRecord();
DataRow row = new DataRow();
row.addDataCell("0.45678", 8);
row.addDataCell("112110.45678", 0);
row.addDataCell("112110.45678", 9);
row.addDataCell("112110", 10);
|
DataCell[] |
getCell() |
short |
getHeight() |
void |
setHeight(short height) |
public DataCell[] getCell()
public void addDataCell(String content, int ctype)
DataRecord dr = new DataRecord();
DataRow row = new DataRow();
row.addDataCell("0.45678", 8);
row.addDataCell("112110.45678", 0);
row.addDataCell("112110.45678", 9);
row.addDataCell("112110", 10);
content
- 单元格内容ctype
- 内容类型public void addDataCell(DataCell cell)
public short getHeight()
public void setHeight(short height)
Copyright © 2016–2018. All rights reserved.