gpt4 book ai didi

com.tc.admin.common.XObjectTableModel.fireTableDataChanged()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 21:45:40 26 4
gpt4 key购买 nike

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

XObjectTableModel.fireTableDataChanged介绍

暂无

代码示例

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

private void sortTable(final XObjectTable table) {
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

private void sortTable(final XObjectTable table) {
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui

private void sortTable(final XObjectTable table) {
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

public void actionPerformed(ActionEvent ae) {
  stopCellEditing();
  standaloneCacheTableModel.clear();
  CacheManagerInstance cacheManagerInstance = (CacheManagerInstance) cacheManagerSelector.getSelectedItem();
  standaloneCacheTableModel.add(getSettingsList(cacheManagerInstance));
  standaloneCacheTableModel.fireTableDataChanged();
 }
});

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

public void clusteredCacheModelAdded(ClusteredCacheModel cacheModel) {
 clusteredCacheTableModel.add(cacheModel.getCacheSettings());
 clusteredCacheTableModel.sortColumn(0, XObjectTableModel.DOWN);
 clusteredCacheTableModel.fireTableDataChanged();
 evaluateVisibility();
}

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

private void sortTable(final XObjectTable table) {
 if (sortColumn == -1) {
  sortColumn = table.getSortColumn();
  sortDirection = table.getSortDirection();
 }
 table.setSortColumn(sortColumn);
 table.setSortDirection(sortDirection);
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

private void sortTable(final XObjectTable table) {
 if (sortColumn == -1) {
  sortColumn = table.getSortColumn();
  sortDirection = table.getSortDirection();
 }
 table.setSortColumn(sortColumn);
 table.setSortDirection(sortDirection);
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0

private void sortTable(final XObjectTable table) {
 if (sortColumn == -1) {
  sortColumn = table.getSortColumn();
  sortDirection = table.getSortDirection();
 }
 table.setSortColumn(sortColumn);
 table.setSortDirection(sortDirection);
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

private void sortTable(final XObjectTable table) {
 if (sortColumn == -1) {
  sortColumn = table.getSortColumn();
  sortDirection = table.getSortDirection();
 }
 table.setSortColumn(sortColumn);
 table.setSortDirection(sortDirection);
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-1.7-ui

private void sortTable(final XObjectTable table) {
 if (sortColumn == -1) {
  sortColumn = table.getSortColumn();
  sortDirection = table.getSortDirection();
 }
 table.setSortColumn(sortColumn);
 table.setSortDirection(sortDirection);
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui

private void sortTable(final XObjectTable table) {
 if (sortColumn == -1) {
  sortColumn = table.getSortColumn();
  sortDirection = table.getSortDirection();
 }
 table.setSortColumn(sortColumn);
 table.setSortDirection(sortDirection);
 table.sort();
 ((XObjectTableModel) table.getModel()).fireTableDataChanged();
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

public void standaloneCacheModelAdded(StandaloneCacheModel cacheModel) {
 CacheModelInstance cacheModelInstance = cacheModel.cacheModelInstance();
 CacheManagerInstance cacheManagerInstance = cacheModelInstance.getCacheManagerInstance();
 boolean haveCacheManagerInstance = haveCacheManagerInstance(cacheManagerInstance);
 List<IMutableCacheSettings> settingsList = getSettingsList(cacheManagerInstance);
 // If we already have CacheManagerInstance in the selector model, then we need to update the settingsList
 // here, else getSettingsList properly set everything up already.
 if (haveCacheManagerInstance) {
  settingsList.add(cacheModel.getCacheSettings());
  sort(settingsList);
 }
 // If we didn't already have CacheManagerInstance in the selector model, update the selector model.
 if (!haveCacheManagerInstance) {
  updateCacheManageSelector();
 } else if (cacheManagerInstance.equals(cacheManagerSelector.getSelectedItem())) {
  standaloneCacheTableModel.add(cacheModel.getCacheSettings());
  standaloneCacheTableModel.sortColumn(0, XObjectTableModel.DOWN);
  standaloneCacheTableModel.fireTableDataChanged();
 }
 evaluateVisibility();
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com