类 Table
java.lang.Object
com.sh.wf.module.component.Component
com.sh.wf.module.component.table.Table
- 所有已实现的接口:
ComponentExport_I,ComponentInline_I,ComponentLoad_I,Serializable,Cloneable
public final class Table
extends Component
implements ComponentLoad_I, ComponentExport_I, ComponentInline_I
Description: 表格
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2015年1月9日
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明protected 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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明callExFunc(ModuleContext context) 组件扩展执行方法,比如:在组件上执行某些操作后,再次请求后台的情况boolean检查并判断是否表头设置默认宽度chooseExportColumn(ModuleContext context) 选择导出列voiddoExport(ModuleContext context) 导出操作voiddoExportCSV(ModuleContext context) 导出CSV文件子组件需要添加的属性,比如:如设置组件的边框,则需要父窗口来进行设置getTd(int rowNo, int colNo) getTdByColumnNo(int rowNo, int columnNo) getTdByColumnNoAndFindColspan(int rowNo, int columnNo) 根据列号查询td,如果该列是被合并单元格的列,则返回合并单元格的列getTr(int rowNo) intbooleanisAppendLastTd(ModuleContext context) 是否最后添加一个隐藏的表格列booleanbooleanisFixHeaderAndRemoveLastThWidth(ModuleContext context, int columnNo) 最后一个th单元格是否不设置宽度voidparser(ModuleParserContext context, org.jdom2.Element nodeEl) voidsetInlineComponent(Component component) 设置嵌入组件toHtml(ModuleContext context) 转化为HTML代码toLoadHtml(ModuleContext context) 控件延迟加载toLoadHtml(ModuleContext context, String _divId, String tableId) 表格组件加载的HTML从类继承的方法 com.sh.wf.module.component.Component
addComponent, addRowIdAttr, autoCalWidth, beforeCheckSaveDsCol2, commonParser, createAutoId, getAuthInfo, getBeginHtml, getCflag, getComponentContext, getComponentType, getDictAttr, getEndHtml, getEventAttr, getExValue, getH1, getId, getMcuuid, getModuleData, getName, getName, getParent, getParentLayout, 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, toMobileHtml, toWrapHtml从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.sh.wf.module.component.ComponentExport_I
getId从接口继承的方法 com.sh.wf.module.component.ComponentLoad_I
getId
-
字段详细资料
-
evenTrBg
public boolean evenTrBg -
clickTrBg
protected boolean clickTrBg -
exportAllData
public boolean exportAllData -
exportChooseColumn
public boolean exportChooseColumn -
fixExportHead
public boolean fixExportHead -
dillDsName
-
-
构造器详细资料
-
Table
public Table()
-
-
方法详细资料
-
toHtml
从类复制的说明:Component转化为HTML代码 -
toLoadHtml
从接口复制的说明:ComponentLoad_I控件延迟加载- 指定者:
toLoadHtml在接口中ComponentLoad_I- 参数:
context- ModuleContext- 返回:
- 加载的HTML
-
toLoadHtml
表格组件加载的HTML- 参数:
context- ModuleContext_divId- StringtableId- String- 返回:
- String
-
callExFunc
从接口复制的说明:ComponentLoad_I组件扩展执行方法,比如:在组件上执行某些操作后,再次请求后台的情况- 指定者:
callExFunc在接口中ComponentLoad_I- 参数:
context- ModuleContext- 返回:
- 脚本
-
isFixHeaderAndRemoveLastThWidth
最后一个th单元格是否不设置宽度- 参数:
context- ModuleContextcolumnNo- 列号- 返回:
- boolean
-
chooseExportColumn
选择导出列- 参数:
context- ModuleContext- 返回:
- String
-
doExportCSV
从接口复制的说明:ComponentExport_I导出CSV文件- 指定者:
doExportCSV在接口中ComponentExport_I- 覆盖:
doExportCSV在类中Component- 参数:
context- ModuleContext
-
doExport
从类复制的说明:Component导出操作- 指定者:
doExport在接口中ComponentExport_I- 覆盖:
doExport在类中Component- 参数:
context- ModuleContext
-
isExportEnable
public boolean isExportEnable() -
getExportFileName
-
getColAttr
-
getTd
-
getTdByColumnNo
-
getTdByColumnNoAndFindColspan
根据列号查询td,如果该列是被合并单元格的列,则返回合并单元格的列- 参数:
rowNo-columnNo-- 返回:
-
getTr
-
getTrCount
public int getTrCount() -
isAppendLastTd
是否最后添加一个隐藏的表格列- 参数:
context- ModuleContext- 返回:
- boolean
-
parser
-
getParentLayoutStyle
从类复制的说明:Component子组件需要添加的属性,比如:如设置组件的边框,则需要父窗口来进行设置- 覆盖:
getParentLayoutStyle在类中Component- 返回:
- 样式
-
getTreeAttr
-
getInlineTableNpComponent
-
setInlineComponent
从接口复制的说明:ComponentInline_I设置嵌入组件- 指定者:
setInlineComponent在接口中ComponentInline_I- 参数:
component- Component
-
checkAndSetDefaultHeaderSize
public boolean checkAndSetDefaultHeaderSize()检查并判断是否表头设置默认宽度- 返回:
-