public class ConditionsTableModel
extends javax.swing.table.AbstractTableModel
| Red (pd) |
| Red (pd) |
| Constructor and Description |
|---|
ConditionsTableModel(IOPort port,
FSMActor model)
Construct a new conditions table model for a given output port 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() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
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, removeTableModelListenerpublic void addColumn()
public void checkDisjointness()
throws IllegalActionException
IllegalActionExceptionpublic void deleteColumn(int index)
index - The column to be deleted.public int getColumnCount()
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
public int getRowCount()
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelpublic void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModelpublic void saveModel()
throws NameDuplicationException
IllegalActionException - If thrown while saving the model.NameDuplicationException - If thrown while saving the model.