类 ExcelCell
java.lang.Object
com.sh.common.excel.ExcelCell
Description: Excel单元格
Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createDoubleCell(String numberFormat) 构造Double型列createTimestampCell(String dateFormat) 构造Timestamp型列intgetDesc()booleanbooleanisString()booleansetBodyAttribute(String bodyAttribute) setBodyStyleId(String bodyStyleId) 设置单元格样式setCellType(int cellType) setDateFormat(String dateFormat) setHeaderAttribute(String headerAttribute) setHeaderStyleId(String headerStyleId) 设置表头样式setNumberFormat(String numberFormat) setTableCol(String tableCol)
-
字段详细资料
-
DOUBLE
public static int DOUBLE -
STRING
public static int STRING -
TIMESTAMP
public static int TIMESTAMP
-
-
构造器详细资料
-
ExcelCell
-
ExcelCell
-
ExcelCell
-
-
方法详细资料
-
createDoubleCell
构造Double型列- 参数:
numberFormat- String- 返回:
- ExcelCell
-
createTimestampCell
构造Timestamp型列- 参数:
dateFormat- String- 返回:
- ExcelCell
-
getCellType
public int getCellType() -
setCellType
-
getDesc
-
setDesc
-
isNumeric
public boolean isNumeric() -
isTimestamp
public boolean isTimestamp() -
isString
public boolean isString() -
getNumberFormat
-
setNumberFormat
-
getDateFormat
-
setDateFormat
-
getTableCol
-
setTableCol
-
getBodyStyleId
-
setBodyStyleId
设置单元格样式- 参数:
bodyStyleId- String- 返回:
- ExcelCell
-
getHeaderStyleId
-
setHeaderStyleId
设置表头样式- 参数:
headerStyleId- String- 返回:
- ExcelCell
-
getHeaderAttribute
-
setHeaderAttribute
-
getBodyAttribute
-
setBodyAttribute
-