本文整理了Java中javax.swing.table.AbstractTableModel.fireTableStructureChanged()
方法的一些代码示例,展示了AbstractTableModel.fireTableStructureChanged()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractTableModel.fireTableStructureChanged()
方法的具体详情如下:
包路径:javax.swing.table.AbstractTableModel
类名称:AbstractTableModel
方法名:fireTableStructureChanged
暂无
代码示例来源:origin: stackoverflow.com
this.fireTableStructureChanged();
this.data.add(data);
this.fireTableDataChanged();
this.fireTableStructureChanged();
this.fireTableStructureChanged();
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
public void itemStateChanged(ItemEvent e)
{
tmodel.fireTableStructureChanged();
}
});
代码示例来源:origin: uk.ac.gate.plugins/annie
@Override
public void fireTableStructureChanged() {
columnCount = -1;
super.fireTableStructureChanged();
}
代码示例来源:origin: net.sf.tinylaf/tinylaf
public void createNewData() {
createData();
// might be that number of columns changed
fireTableStructureChanged();
}
代码示例来源:origin: cytoscape.coreplugins/advanced-network-merge
@Override
public void fireTableStructureChanged() {
resetNetworks();
super.fireTableStructureChanged();
}
代码示例来源:origin: cytoscape.coreplugins/advanced-network-merge
@Override
public void fireTableStructureChanged() {
resetNetworks();
super.fireTableStructureChanged();
}
代码示例来源:origin: org.cytoscape/network-merge-impl
@Override
public void fireTableStructureChanged() {
resetNetworks();
super.fireTableStructureChanged();
}
代码示例来源:origin: org.cytoscape/network-merge-impl
@Override
public void fireTableStructureChanged() {
resetNetworks();
super.fireTableStructureChanged();
}
代码示例来源:origin: sc.fiji/TrakEM2_
void triggerUpdate() {
((AbstractTableModel)getModel()).fireTableStructureChanged();
}
}
代码示例来源:origin: net.sf.tinylaf/tinylaf
public void removeColumn(int column) {
columnNames.remove(column);
Iterator ii = data.iterator();
while(ii.hasNext()) {
Record rec = (Record)ii.next();
rec.removeColumn(column);
}
fireTableStructureChanged();
}
代码示例来源:origin: net.sf.tinylaf/tinylaf
public void addColumn(Class cl, int column) {
columnNames.add(column, "N" + (column + 1));
Iterator ii = data.iterator();
while(ii.hasNext()) {
Record rec = (Record)ii.next();
rec.addColumn(cl, column);
}
fireTableStructureChanged();
}
代码示例来源:origin: de.sciss/jtreetable
@Override
public void fireTableStructureChanged() {
super.fireTableStructureChanged();
if (getRowHeight() <= 0)
updateTableRowHeights();
}
代码示例来源:origin: GoldenGnu/jeveassets
@Override
public void actionPerformed(final ActionEvent e) {
editColumns.setVisible(true);
tableModel.fireTableStructureChanged();
jTable.autoResizeColumns();
}
});
代码示例来源:origin: GoldenGnu/jeveassets
@Override
public void actionPerformed(final ActionEvent e) {
reset();
tableModel.fireTableStructureChanged();
jTable.autoResizeColumns();
program.saveSettings("Columns (Reset)"); //Save Resize Mode
}
});
代码示例来源:origin: sc.fiji/TrakEM2_
final void add(final Class<?> filterClass) {
filters.add(new FilterWrapper(filterClass));
((AbstractTableModel)getModel()).fireTableStructureChanged();
this.getSelectionModel().setSelectionInterval(filters.size()-1, filters.size()-1);
}
final void setupListener(final TableParameters tp) {
代码示例来源:origin: sc.fiji/TrakEM2_
@Override
public void mousePressed(final MouseEvent me) {
if (me.getClickCount() == 2) {
int row = getSelectedRow();
filters.remove(row);
((AbstractTableModel)getModel()).fireTableStructureChanged();
if (filters.size() > 0) {
if (row > 0) --row;
getSelectionModel().setSelectionInterval(row, row);
}
getColumnModel().getColumn(0).setMaxWidth(10);
}
}
});
代码示例来源:origin: sc.fiji/TrakEM2_
break;
((AbstractTableModel)getModel()).fireTableStructureChanged();
getColumnModel().getColumn(0).setMaxWidth(10);
if (-1 != selRow) {
代码示例来源:origin: stackoverflow.com
this.fireTableStructureChanged();
代码示例来源:origin: GoldenGnu/jeveassets
protected void loadView(View view) {
tableFormat.setColumns(view.getColumns());
tableModel.fireTableStructureChanged();
jTable.autoResizeColumns();
program.updateTableMenu();
program.saveSettings("View (Load)"); //Save Columns (Changed - Load View)
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
((AbstractTableModel) paramtable.getModel()).fireTableStructureChanged();
((AbstractTableModel) pstable.getModel()).fireTableStructureChanged();
((AbstractTableModel) rstable.getModel()).fireTableStructureChanged();
内容来源于网络,如有侵权,请联系作者删除!