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, removeTableModelListener
public void addColumn()
public void checkDisjointness() throws IllegalActionException
IllegalActionException
public 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.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
public void saveModel() throws NameDuplicationException
IllegalActionException
- If thrown while saving the model.NameDuplicationException
- If thrown while saving the model.