jmri.jmrit.operations.locations
Class StagingTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.operations.locations.TrackTableModel
jmri.jmrit.operations.locations.StagingTableModel
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, EventListener, TableModel
public class StagingTableModel
- extends TrackTableModel
Table Model for edit of staging tracks used by operations
- Author:
- Daniel Boudreau Copyright (C) 2008
- See Also:
- Serialized Form
| Fields inherited from class jmri.jmrit.operations.locations.TrackTableModel |
_location, _showPoolColumn, _sort, _table, _trackType, CARSCOLUMN, DROPSCOLUMN, EDITCOLUMN, EDITPOOLCOLUMN, ENGINESCOLUMN, HIGHESTCOLUMN, IDCOLUMN, LENGTHCOLUMN, NAMECOLUMN, PICKUPSCOLUMN, RESERVEDCOLUMN, SORTBYID, SORTBYNAME, tracksList, USEDLENGTHCOLUMN |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StagingTableModel
public StagingTableModel()
initTable
public void initTable(JTable table,
Location location)
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class TrackTableModel
editTrack
protected void editTrack(int row)
- Overrides:
editTrack in class TrackTableModel
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange in interface PropertyChangeListener- Overrides:
propertyChange in class TrackTableModel
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: