public class EventTableModel
extends javax.swing.table.AbstractTableModel
| Red (pd) |
| Red (pd) |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,Token> |
_tokenMap
Map from input port name to input value.
|
| Constructor and Description |
|---|
EventTableModel(Parameter parameter,
FSMActor model)
Construct a new event table model for a given parameter and
the FSMActor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn()
Add a column.
|
void |
checkDisjointness()
Check that all modes are unique. -- by definition
Check that all values are unique.
|
void |
deleteColumn(int index)
Delete a column.
|
int |
getColumnCount()
Get the column count.
|
int |
getRowCount()
Return the row count.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Return true, indicating that the cell is editable.
|
void |
saveModel()
Save the model.
|
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListenerprotected java.util.Map<java.lang.String,Token> _tokenMap
public void checkDisjointness()
throws IllegalActionException
IllegalActionExceptionpublic java.lang.Object getValueAt(int rowIndex,
int columnIndex)
public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelrowIndex - The rowIndex, which is ignored in this base
class.columnIndex - The columnIndex.public int getRowCount()
public void addColumn()
public void deleteColumn(int index)
index - The column to be deleted.public int getColumnCount()
public void saveModel()
throws IllegalActionException,
NameDuplicationException
IllegalActionException - If thrown while saving the model.NameDuplicationException - If thrown while saving the model.