Package jmri.jmrit.operations
Class OperationsTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.operations.OperationsTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Direct Known Subclasses:
CarsTableModel
,SchedulesTableModel
,ScheduleTableModel
,TrackTableModel
public abstract class OperationsTableModel extends javax.swing.table.AbstractTableModel
Common table model methods for operations.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
OperationsTableModel.MyTableCellRenderer
-
Constructor Summary
Constructors Constructor Description OperationsTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.Color
getForegroundColor(int row)
void
initTable(javax.swing.JTable table)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Constructor Detail
-
OperationsTableModel
public OperationsTableModel()
-
-
Method Detail
-
initTable
public void initTable(javax.swing.JTable table)
-
getForegroundColor
protected java.awt.Color getForegroundColor(int row)
-
-