本文整理了Java中com.vaadin.v7.ui.Table.removeContainerProperty()
方法的一些代码示例,展示了Table.removeContainerProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.removeContainerProperty()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.Table
类名称:Table
方法名:removeContainerProperty
[英]Removes a Property specified by the given Property ID from the Container.
[中]从容器中移除给定属性ID指定的属性。
代码示例来源:origin: com.haulmont.cuba/cuba-web-widgets
@Override
public boolean removeContainerProperty(Object propertyId) throws UnsupportedOperationException {
if (editableColumns != null) {
editableColumns.remove(propertyId);
}
if (isAggregatable() && items instanceof AggregationContainer) {
removeContainerPropertyAggregation(propertyId);
}
boolean removed = super.removeContainerProperty(propertyId);
if (removed) {
resetPageBuffer();
}
return removed;
}
代码示例来源:origin: com.haulmont.cuba/cuba-web
@Override
public void removeColumn(Table.Column column) {
if (column == null) {
return;
}
component.removeContainerProperty(column.getId());
columns.remove(column.getId());
columnsOrder.remove(column);
// vaadin8 it seems that it is not required
if (!(component.getContainerDataSource() instanceof com.vaadin.v7.data.Container.ItemSetChangeNotifier)) {
component.refreshRowCache();
}
column.setOwner(null);
}
内容来源于网络,如有侵权,请联系作者删除!