com.ptc.wgmecad.table
Class ABOMTableMdl
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
com.ptc.wgmecad.table.TableMdl
com.ptc.wgmecad.table.ABOMTableMdl
- All Implemented Interfaces:
- Serializable, TableModel
- public class ABOMTableMdl
- extends TableMdl
Created by IntelliJ IDEA.
User: barky
Date: Mar 18, 2003
Time: 7:37:16 AM
To change this template use Options | File Templates.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
refDesColumnSize
public static final int refDesColumnSize
- See Also:
- Constant Field Values
colNames
static final String[] colNames
colClasses
static final Class[] colClasses
ABOMTableMdl
public ABOMTableMdl(File compFile,
String asmNum)
getColumnClass
public Class getColumnClass(int columnIndex)
onTableModelUpdate
protected void onTableModelUpdate(TableModelEvent e)
- Specified by:
onTableModelUpdate
in class TableMdl
updateArgumentMapFromModel
public void updateArgumentMapFromModel()
- Description copied from class:
TableMdl
- removes all current hook arguments from the arg map, and dumps the current contens of the table model into
the map. This assumes that the EXE_COL contains the correct hook arguments.
Note that this removes any persistence data for the hook arguments - they will all be persisted. The
rationale is that once the user messes with it in the GUI, they are setting up longer term settings.
- Specified by:
updateArgumentMapFromModel
in class TableMdl
getData
public static Object[][] getData(File compFile,
String asmNum)