类 ExcelCell

java.lang.Object
com.sh.common.excel.ExcelCell

public class ExcelCell extends Object
Description: Excel单元格 Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 字段详细资料

    • DOUBLE

      public static int DOUBLE
    • STRING

      public static int STRING
    • TIMESTAMP

      public static int TIMESTAMP
  • 构造器详细资料

    • ExcelCell

      public ExcelCell(int cellType, String tableCol, String desc)
    • ExcelCell

      public ExcelCell(String desc, String tableCol)
    • ExcelCell

      public ExcelCell(String tableCol)
  • 方法详细资料

    • createDoubleCell

      public ExcelCell createDoubleCell(String numberFormat)
      构造Double型列
      参数:
      numberFormat - String
      返回:
      ExcelCell
    • createTimestampCell

      public ExcelCell createTimestampCell(String dateFormat)
      构造Timestamp型列
      参数:
      dateFormat - String
      返回:
      ExcelCell
    • getCellType

      public int getCellType()
    • setCellType

      public ExcelCell setCellType(int cellType)
    • getDesc

      public String getDesc()
    • setDesc

      public ExcelCell setDesc(String desc)
    • isNumeric

      public boolean isNumeric()
    • isTimestamp

      public boolean isTimestamp()
    • isString

      public boolean isString()
    • getNumberFormat

      public String getNumberFormat()
    • setNumberFormat

      public ExcelCell setNumberFormat(String numberFormat)
    • getDateFormat

      public String getDateFormat()
    • setDateFormat

      public ExcelCell setDateFormat(String dateFormat)
    • getTableCol

      public String getTableCol()
    • setTableCol

      public ExcelCell setTableCol(String tableCol)
    • getBodyStyleId

      public String getBodyStyleId()
    • setBodyStyleId

      public ExcelCell setBodyStyleId(String bodyStyleId)
      设置单元格样式
      参数:
      bodyStyleId - String
      返回:
      ExcelCell
    • getHeaderStyleId

      public String getHeaderStyleId()
    • setHeaderStyleId

      public ExcelCell setHeaderStyleId(String headerStyleId)
      设置表头样式
      参数:
      headerStyleId - String
      返回:
      ExcelCell
    • getHeaderAttribute

      public String getHeaderAttribute()
    • setHeaderAttribute

      public ExcelCell setHeaderAttribute(String headerAttribute)
    • getBodyAttribute

      public String getBodyAttribute()
    • setBodyAttribute

      public ExcelCell setBodyAttribute(String bodyAttribute)