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

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

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

Table.sort介绍

暂无

代码示例

代码示例来源:origin: org.opencms/opencms-core

/**
 * Updates the file table sorting.<p>
 */
public void updateSorting() {
  m_fileTable.sort();
}

代码示例来源:origin: apache/ace

private void populateSelect() {
  List<Group> grouplist = m_userUtil.getGroups();
  for (Group g : grouplist) {
    m_groupSelect.addItem(g.getName());
  }
  m_userTable.sort(new Object[] { "User" }, new boolean[] { true });
}

代码示例来源:origin: org.opencms/opencms-core

/**
 * Fills the resource table.<p>
 *
 * @param cms the current CMS context
 * @param resources the resources which should be displayed in the table
 * @param clearFilter <code>true</code> to clear the search filter
 */
public void fillTable(CmsObject cms, List<CmsResource> resources, boolean clearFilter) {
  Locale wpLocale = OpenCms.getWorkplaceManager().getWorkplaceLocale(cms);
  m_container.removeAllItems();
  if (clearFilter) {
    m_container.removeAllContainerFilters();
  }
  for (CmsResource resource : resources) {
    fillItem(cms, resource, wpLocale);
  }
  m_fileTable.sort();
  clearSelection();
}

代码示例来源:origin: apache/ace

m_userTable.sort(new Object[] { "User" }, new boolean[] { true });
m_userTable.setValue(itemID);

代码示例来源:origin: com.holon-platform.vaadin7/holon-vaadin

states[i] = sorts[i].isAscending();
getTable().sort(pids, states);

代码示例来源:origin: org.opennms.features/vaadin-surveillance-views

m_table.sort(new Object[]{"name"}, new boolean[]{true});

相关文章

微信公众号

最新文章

更多