java.lang.Object
cn.creekmoon.excel.core.W.title.ext.Title

public class Title extends Object
标题类 是个单向链表 会指向自己的父表头
  • Field Details

    • parentTitle

      public Title parentTitle
    • titleName

      public String titleName
    • valueFunction

      public Function valueFunction
    • startColIndex

      public int startColIndex
    • endColIndex

      public int endColIndex
    • PARENT_TITLE_SEPARATOR

      public String PARENT_TITLE_SEPARATOR
    • conditionCellStyleList

      public List<ConditionCellStyle> conditionCellStyleList
  • Method Details

    • of

      public static Title of(String titleName, Function valueFunction, ConditionCellStyle... conditionCellStyles)
    • convert2ChainTitle

      public HashMap<Integer,Title> convert2ChainTitle(int currentColIndex)
      (如果可以)将Title转换成链表 并返回一个深度集合 每个Title指向一个parentTitle
      Parameters:
      currentColIndex - 当前标题的列位置
      Returns:
      Map key=深度 value = title对象