java.lang.Object
com.sh.wf.module.component.Component
com.sh.wf.module.component.table.Td
所有已实现的接口:
ComponentExport_I, Serializable, Cloneable

public final class Td extends Component

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2015年1月12日
另请参阅:
  • 字段详细资料

    • tr

      public Tr tr
    • attrMap

      public Map<String,String> attrMap
    • directionColSpan

      public int directionColSpan
    • drillAttr

      public DrillAttr drillAttr
    • commonAttr

      public CommonAttr commonAttr
    • autoAppendExpandCol

      public int autoAppendExpandCol
    • isRowLastTd

      public boolean isRowLastTd
    • vAlign

      public String vAlign
    • isFontBold

      public boolean isFontBold
    • isFontItalic

      public boolean isFontItalic
    • isUnderline

      public boolean isUnderline
    • i18n

      protected boolean i18n
  • 构造器详细资料

    • Td

      public Td(Tr tr)
  • 方法详细资料

    • getExportSelfEnable

      public boolean getExportSelfEnable()
    • calExportNo

      public void calExportNo(ModuleContext context)
    • calExportNo

      public void calExportNo(ModuleContext context, boolean exportSelfEnable)
      计算单元格在导出是的单元格列号 因为该列前面的列存在不需要导出的情况,所以不能直接使用columnNo
      参数:
      exportSelfEnable - boolean
    • toHtml

      public String toHtml(ModuleContext context)
      从类复制的说明: Component
      转化为HTML代码
      指定者:
      toHtml 在类中 Component
      参数:
      context - ModuleContext
      返回:
      html
    • autoCalWidth

      public int autoCalWidth(ModuleContext context)
      计算下级组件的所有宽度
      覆盖:
      autoCalWidth 在类中 Component
    • doExportCSV

      public void doExportCSV(ModuleContext context)
      从接口复制的说明: ComponentExport_I
      导出CSV文件
      指定者:
      doExportCSV 在接口中 ComponentExport_I
      覆盖:
      doExportCSV 在类中 Component
      参数:
      context - ModuleContext
    • doExport

      public void doExport(ModuleContext context)
      导出
      指定者:
      doExport 在接口中 ComponentExport_I
      覆盖:
      doExport 在类中 Component
      参数:
      context - ModuleContext
    • toMobileHtml

      public String toMobileHtml(ModuleContext context)
      从类复制的说明: Component
      转化为移动手机端的HTML代码
      覆盖:
      toMobileHtml 在类中 Component
      参数:
      context - ModuleContext
      返回:
      html
    • getCell

      public String getCell()
    • getRowNo

      public int getRowNo()
    • getColumnNo

      public int getColumnNo()
    • getColSpan

      public int getColSpan()
    • getCellValue

      public String getCellValue()
    • getMaxContentLength

      public int getMaxContentLength()
    • getShowTooltip

      public boolean getShowTooltip()
    • getExDirection

      public String getExDirection()
    • getRowSpan

      public int getRowSpan()
    • getRuleAttrList

      public List<RuleAttr> getRuleAttrList()
    • getExportColumnNo

      public int getExportColumnNo()
    • getJavaAttr

      public JavaAttr getJavaAttr()
    • getId

      public String getId()
      指定者:
      getId 在接口中 ComponentExport_I
      覆盖:
      getId 在类中 Component
    • findHeadTd

      public Td findHeadTd()
      查找当前单元格对应的表头单元格
      返回:
      Td
    • parser

      public void parser(ModuleParserContext context, org.jdom2.Element tdEl)
      指定者:
      parser 在类中 Component
    • renderEventHtml

      public void renderEventHtml(ModuleContext context, StringBuilder html, String tempTdId)
      单元格事件处理
      参数:
      context - ModuleContext
      html - StringBuilder
      tempTdId - 最终生成的单元格的ID
    • checkAndSetNoEmptyTip

      public String checkAndSetNoEmptyTip(ModuleContext context, String str)
      检查并设置非空提示,即表格前面加一个红色的 * 来表示非空单元格,一般在Input表格中使用
      参数:
      context -
      str -
      返回:
    • getTextAlign

      public String getTextAlign()
    • isSetHeaderWidthFromPageVar

      public boolean isSetHeaderWidthFromPageVar()
    • getLabelI18n

      public String getLabelI18n()