Package jmri.jmrit.logixng.tools.swing
Class DebuggerSymbolTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.logixng.tools.swing.DebuggerSymbolTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
public class DebuggerSymbolTableModel extends javax.swing.table.AbstractTableModel
Table model for the current symbol table while debugging- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
COLUMN_NAME
static int
COLUMN_VALUE
-
Constructor Summary
Constructors Constructor Description DebuggerSymbolTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getColumnClass(int col)
int
getColumnCount()
java.lang.String
getColumnName(int col)
int
getRowCount()
java.lang.Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int row, int col)
void
setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
void
update(SymbolTable symbolTable)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
COLUMN_NAME
public static final int COLUMN_NAME
- See Also:
- Constant Field Values
-
COLUMN_VALUE
public static final int COLUMN_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DebuggerSymbolTableModel
public DebuggerSymbolTableModel()
-
-
Method Detail
-
update
public void update(SymbolTable symbolTable)
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getColumnClass
public java.lang.Class<?> getColumnClass(int col)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.AbstractTableModel
-
setValueAt
public void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-
getValueAt
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
-
-