jmri.jmrit.operations.locations
Class StagingTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by jmri.jmrit.operations.locations.TrackTableModel
          extended by 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

Field Summary
 
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
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
StagingTableModel()
           
 
Method Summary
protected  void editTrack(int row)
           
 String getColumnName(int col)
           
 void initTable(JTable table, Location location)
           
 void propertyChange(PropertyChangeEvent e)
           
 
Methods inherited from class jmri.jmrit.operations.locations.TrackTableModel
dispose, getColumnClass, getColumnCount, getRowCount, getValueAt, initTable, isCellEditable, removePropertyChangeTracks, setSort, setValueAt
 
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
 

Constructor Detail

StagingTableModel

public StagingTableModel()
Method Detail

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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads