com.vaadin.v7.ui.Table.setColumnFooter()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(126)

本文整理了Java中com.vaadin.v7.ui.Table.setColumnFooter()方法的一些代码示例,展示了Table.setColumnFooter()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.setColumnFooter()方法的具体详情如下:
包路径:com.vaadin.v7.ui.Table
类名称:Table
方法名:setColumnFooter

Table.setColumnFooter介绍

[英]Sets the column footer caption. The column footer caption is the text displayed beneath the column if footers have been set visible.
[中]设置列页脚标题。如果页脚设置为可见,则列页脚标题是列下方显示的文本。

代码示例

代码示例来源:origin: com.vaadin/vaadin-compatibility-server

setColumnFooter(propertyId, columnValue);

代码示例来源:origin: OpenNMS/opennms

table.setColumnFooter(EDGE_COLUMN, "Total");
table.setColumnFooter(STATUS_COLUMN, explanation.getStatus().getLabel());
table.setColumnFooter(WEIGHT_COLUMN, String.valueOf(explanation.getWeightSum()));
table.setColumnFooter(WEIGHT_FACTOR, toString(explanation.getWeightSumFactor()));
table.setColumnFooter(Status.CRITICAL, toString(explanation.getStatusResult(Status.CRITICAL)));
table.setColumnFooter(Status.MAJOR, toString(explanation.getStatusResult(Status.MAJOR)));
table.setColumnFooter(Status.MINOR, toString(explanation.getStatusResult(Status.MINOR)));
table.setColumnFooter(Status.WARNING, toString(explanation.getStatusResult(Status.WARNING)));
table.setColumnFooter(Status.NORMAL, toString(explanation.getStatusResult(Status.NORMAL)));

相关文章

微信公众号

最新文章

更多

Table类方法