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

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

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

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

  1. /**
  2. * Discards and recreates the internal row cache. Call this if you make
  3. * changes that affect the rows but the information about the changes are
  4. * not automatically propagated to the Table.
  5. * <p>
  6. * Do not call this e.g. if you have updated the data model through a
  7. * Property. These types of changes are automatically propagated to the
  8. * Table.
  9. * <p>
  10. * A typical case when this is needed is if you update a generator (e.g.
  11. * CellStyleGenerator) and want to ensure that the rows are redrawn with new
  12. * styles.
  13. * <p>
  14. * <i>Note that calling this method is not cheap so avoid calling it
  15. * unnecessarily.</i>
  16. *
  17. * @since 6.7.2
  18. */
  19. public void refreshRowCache() {
  20. resetPageBuffer();
  21. refreshRenderedCells();
  22. }

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

  1. resetPageBuffer();
  2. enableContentRefreshing(true);

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

  1. /**
  2. * Make sure that the OnmsVaadinContainer cache is reset.
  3. */
  4. @Override
  5. public void resetPageBuffer() {
  6. if (m_container != null && m_container.getCache() != null && m_container.getPage() != null) {
  7. m_container.getCache().reload(m_container.getPage());
  8. }
  9. super.resetPageBuffer();
  10. }

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

  1. resetPageBuffer();

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

  1. resetPageBuffer();

相关文章

Table类方法