Package jmri.jmrit.operations.locations
Class InterchangeTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.operations.OperationsTableModel
-
- jmri.jmrit.operations.locations.TrackTableModel
-
- jmri.jmrit.operations.locations.InterchangeTableModel
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.event.TableColumnModelListener
,javax.swing.table.TableModel
public class InterchangeTableModel extends TrackTableModel
Table Model for edit of interchanges used by operations- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.operations.OperationsTableModel
OperationsTableModel.MyTableCellRenderer
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.operations.locations.TrackTableModel
_dirty, _location, _table, _tracksList, _trackType, ALT_TRACK_COLUMN, CARS_COLUMN, COMMENT_COLUMN, CUSTOM_LOAD_COLUMN, DEFAULT_LOAD_COLUMN, DESTINATION_COLUMN, DISABLE_LOAD_CHANGE_COLUMN, EDIT_COLUMN, HIGHESTCOLUMN, HOLD_COLUMN, ID_COLUMN, LENGTH_COLUMN, LOAD_COLUMN, LOCOS_COLUMN, MOVES_COLUMN, NAME_COLUMN, ORDER_COLUMN, PICKUPS_COLUMN, PLANPICKUP_COLUMN, POOL_COLUMN, REPORTER_COLUMN, RESERVED_COLUMN, RESTRICTION_COLUMN, ROAD_COLUMN, ROUTED_COLUMN, SCHEDULE_COLUMN, SETOUT_COLUMN, SHIP_COLUMN, tef, TRAIN_DIRECTION_COLUMN, USED_LENGTH_COLUMN
-
-
Constructor Summary
Constructors Constructor Description InterchangeTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
editTrack(int row)
java.lang.String
getColumnName(int col)
void
initTable(javax.swing.JTable table, Location location)
void
propertyChange(java.beans.PropertyChangeEvent e)
-
Methods inherited from class jmri.jmrit.operations.locations.TrackTableModel
columnAdded, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, dispose, getColumnClass, getColumnCount, getRowCount, getValueAt, initTable, isCellEditable, setValueAt
-
Methods inherited from class jmri.jmrit.operations.OperationsTableModel
getForegroundColor, initTable
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
InterchangeTableModel
public InterchangeTableModel()
-
-
Method Detail
-
editTrack
protected void editTrack(int row)
- Specified by:
editTrack
in classTrackTableModel
-
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classTrackTableModel
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
- Overrides:
propertyChange
in classTrackTableModel
-
-