class BreakpointFrame.TableModelLocalVariables
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
TableModelLocalVariables()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Gets the number of columns held by the table.
|
java.lang.String |
getColumnName(int col)
Gets the name of a column, given an integer representing it's ordinal position.
|
int |
getRowCount()
Gets the number of rows held by the table.
|
java.lang.Object |
getValueAt(int row,
int col)
Gets the value at a certain row and column in the table.
|
boolean |
isCellEditable(int row,
int col)
Indicates whether or not a given cell is editable.
|
void |
parametersDataUpdated()
Indicates that the scrapeable file information has been updated.
|
void |
setColumnNames(java.lang.String[] columnNames)
Sets the column names.
|
void |
setScriptContext(ScriptContext scriptContext)
Sets the
ScriptContext that contains the variables. |
void |
setValueAt(java.lang.Object value,
int row,
int col)
Sets the value at a certain row and column in the table.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public TableModelLocalVariables()
public void setColumnNames(java.lang.String[] columnNames)
columnNames
- An array of strings containing all of the column names.public void setScriptContext(ScriptContext scriptContext)
ScriptContext
that contains the variables.scriptContext
- The ScriptContext
.public int getColumnCount()
int
representing the number of columns.public int getRowCount()
int
representing the number of rows.public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
col
- The ordinal position of the column.public java.lang.Object getValueAt(int row, int col)
row
- The row number.col
- The ordinal position of the column.Object
representing the data.public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
row
- The row number.col
- The ordinal position of the column.boolean
indicating whether or not the cell is editable.public void setValueAt(java.lang.Object value, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
row
- The row number.col
- The ordinal position of the column.public void parametersDataUpdated()