类 Td
java.lang.Object
com.sh.wf.module.component.Component
com.sh.wf.module.component.table.Td
- 所有已实现的接口:
ComponentExport_I,Serializable,Cloneable
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2015年1月12日
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明intintprotected booleanbooleanbooleanbooleanboolean从类继承的字段 com.sh.wf.module.component.Component
__initHidden, authInfo, autoId, autoTriggerEvent, beginHtml, cflag, childComponentList, contextMenu, dictAttr, endHtml, eventAttr, exDataMap, h1, id, idOri, isAutoLoad, isRulePageShow, isShowComponentFlag, moduleData, pageRuleAttr, parent, parentLayout, parentTableId, pstyle, ruleLastShowHide, ruleShowHideTotal, selfAttr, selfFlag, seqType, sid, style, tagWrap, timerAttr, w1, wrapComponent, x1, y1 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intautoCalWidth(ModuleContext context) 计算下级组件的所有宽度voidcalExportNo(ModuleContext context) voidcalExportNo(ModuleContext context, boolean exportSelfEnable) 计算单元格在导出是的单元格列号 因为该列前面的列存在不需要导出的情况,所以不能直接使用columnNocheckAndSetNoEmptyTip(ModuleContext context, String str) 检查并设置非空提示,即表格前面加一个红色的 * 来表示非空单元格,一般在Input表格中使用voiddoExport(ModuleContext context) 导出voiddoExportCSV(ModuleContext context) 导出CSV文件查找当前单元格对应的表头单元格getCell()intintintbooleangetId()intintgetRowNo()intbooleanbooleanvoidparser(ModuleParserContext context, org.jdom2.Element tdEl) voidrenderEventHtml(ModuleContext context, StringBuilder html, String tempTdId) 单元格事件处理toHtml(ModuleContext context) 转化为HTML代码toMobileHtml(ModuleContext context) 转化为移动手机端的HTML代码从类继承的方法 com.sh.wf.module.component.Component
addComponent, addRowIdAttr, beforeCheckSaveDsCol2, commonParser, createAutoId, getAuthInfo, getBeginHtml, getCflag, getComponentContext, getComponentType, getDictAttr, getEndHtml, getEventAttr, getExValue, getH1, getMcuuid, getModuleData, getName, getName, getParent, getParentLayout, getParentLayoutStyle, getPstyle, getRowId, getSaveDsCol2Name, getSelfAttr, getSelfFlag, getSid, getStyle, getSubCallExUrlFull, getSubLoadUrl, getW1, getWrapBegin, getWrapEnd, getX1, getY1, is__initHidden, isArrayRequestParam, isAutoLoad, isPageShow, isSeqUnique, isShowComponentFlag, isUsePosition, isVisible, notifyParserChildComponent, parserExData, processQueryParam, renderAfter, renderAfter, renderBefore, setAutoLoad, setComponentType, setExData, setId, setModuleData, setParent, setParentLayout, setRuleShowHidden, setShowComponentFlag, setStyle, toHtml2, toWrapHtml
-
字段详细资料
-
tr
-
attrMap
-
directionColSpan
public int directionColSpan -
drillAttr
-
commonAttr
-
autoAppendExpandCol
public int autoAppendExpandCol -
isRowLastTd
public boolean isRowLastTd -
vAlign
-
isFontBold
public boolean isFontBold -
isFontItalic
public boolean isFontItalic -
isUnderline
public boolean isUnderline -
i18n
protected boolean i18n
-
-
构造器详细资料
-
Td
-
-
方法详细资料
-
getExportSelfEnable
public boolean getExportSelfEnable() -
calExportNo
-
calExportNo
计算单元格在导出是的单元格列号 因为该列前面的列存在不需要导出的情况,所以不能直接使用columnNo- 参数:
exportSelfEnable- boolean
-
toHtml
从类复制的说明:Component转化为HTML代码 -
autoCalWidth
计算下级组件的所有宽度- 覆盖:
autoCalWidth在类中Component
-
doExportCSV
从接口复制的说明:ComponentExport_I导出CSV文件- 指定者:
doExportCSV在接口中ComponentExport_I- 覆盖:
doExportCSV在类中Component- 参数:
context- ModuleContext
-
doExport
导出- 指定者:
doExport在接口中ComponentExport_I- 覆盖:
doExport在类中Component- 参数:
context- ModuleContext
-
toMobileHtml
从类复制的说明:Component转化为移动手机端的HTML代码- 覆盖:
toMobileHtml在类中Component- 参数:
context- ModuleContext- 返回:
- html
-
getCell
-
getRowNo
public int getRowNo() -
getColumnNo
public int getColumnNo() -
getColSpan
public int getColSpan() -
getCellValue
-
getMaxContentLength
public int getMaxContentLength() -
getShowTooltip
public boolean getShowTooltip() -
getExDirection
-
getRowSpan
public int getRowSpan() -
getRuleAttrList
-
getExportColumnNo
public int getExportColumnNo() -
getJavaAttr
-
getId
- 指定者:
getId在接口中ComponentExport_I- 覆盖:
getId在类中Component
-
findHeadTd
查找当前单元格对应的表头单元格- 返回:
- Td
-
parser
-
renderEventHtml
单元格事件处理- 参数:
context- ModuleContexthtml- StringBuildertempTdId- 最终生成的单元格的ID
-
checkAndSetNoEmptyTip
检查并设置非空提示,即表格前面加一个红色的 * 来表示非空单元格,一般在Input表格中使用- 参数:
context-str-- 返回:
-
getTextAlign
-
isSetHeaderWidthFromPageVar
public boolean isSetHeaderWidthFromPageVar() -
getLabelI18n
-