com.vaadin.ui.Grid.addFooterRowAt()方法的使用及代码示例

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

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

Grid.addFooterRowAt介绍

[英]Inserts a new row at the given position to the footer section. Shifts the row currently at that position and any subsequent rows down (adds one to their indices). Inserting at #getFooterRowCount() appends the row at the bottom of the footer.
[中]在页脚部分的给定位置插入新行。将当前位于该位置的行和任何后续行下移(将一行添加到其索引中)。在#getFooterRowCount()处插入将在页脚底部追加该行。

代码示例

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

/**
 * Adds a new row at the top of the footer section.
 *
 * @return the prepended footer row
 *
 * @see #appendFooterRow()
 * @see #addFooterRowAt(int)
 * @see #removeFooterRow(FooterRow)
 * @see #removeFooterRow(int)
 */
public FooterRow prependFooterRow() {
  return addFooterRowAt(0);
}

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

/**
 * Adds a new row at the bottom of the footer section.
 *
 * @return the appended footer row
 *
 * @see #prependFooterRow()
 * @see #addFooterRowAt(int)
 * @see #removeFooterRow(FooterRow)
 * @see #removeFooterRow(int)
 */
public FooterRow appendFooterRow() {
  return addFooterRowAt(getFooterRowCount());
}

代码示例来源:origin: com.haulmont.cuba/cuba-web

@Override
public FooterRow addFooterRowAt(int index) {
  com.vaadin.ui.components.grid.FooterRow footerRow = component.addFooterRowAt(index);
  return addFooterRowInternal(footerRow);
}

相关文章

Grid类方法