本文整理了Java中com.vaadin.v7.ui.Table.resetPageBuffer()
方法的一些代码示例,展示了Table.resetPageBuffer()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.resetPageBuffer()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.Table
类名称:Table
方法名:resetPageBuffer
[英]Clears the current page buffer. Call this before #refreshRenderedCells() to ensure that all content is updated from the properties.
[中]清除当前页面缓冲区。在#refreshRenderedCells()之前调用此函数,以确保所有内容都已从属性中更新。
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
/**
* Discards and recreates the internal row cache. Call this if you make
* changes that affect the rows but the information about the changes are
* not automatically propagated to the Table.
* <p>
* Do not call this e.g. if you have updated the data model through a
* Property. These types of changes are automatically propagated to the
* Table.
* <p>
* A typical case when this is needed is if you update a generator (e.g.
* CellStyleGenerator) and want to ensure that the rows are redrawn with new
* styles.
* <p>
* <i>Note that calling this method is not cheap so avoid calling it
* unnecessarily.</i>
*
* @since 6.7.2
*/
public void refreshRowCache() {
resetPageBuffer();
refreshRenderedCells();
}
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
resetPageBuffer();
enableContentRefreshing(true);
代码示例来源:origin: OpenNMS/opennms
/**
* Make sure that the OnmsVaadinContainer cache is reset.
*/
@Override
public void resetPageBuffer() {
if (m_container != null && m_container.getCache() != null && m_container.getPage() != null) {
m_container.getCache().reload(m_container.getPage());
}
super.resetPageBuffer();
}
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
resetPageBuffer();
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
resetPageBuffer();
内容来源于网络,如有侵权,请联系作者删除!