Class LocationTrackBlockingOrderTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.operations.locations.tools.LocationTrackBlockingOrderTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel
public class LocationTrackBlockingOrderTableModel
extends AbstractTableModel
implements PropertyChangeListener
Table Model for edit of tracks used by operations
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Locationprotected JTableprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Class<?>getColumnClass(int col) intgetColumnName(int col) intgetValueAt(int row, int col) protected voidbooleanisCellEditable(int row, int col) voidprotected voidvoidsetValueAt(Object value, int row, int col) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
_location
-
_tracksList
-
_table
-
ID_COLUMN
- See Also:
-
NAME_COLUMN
- See Also:
-
TYPE_COLUMN
- See Also:
-
ORDER_COLUMN
- See Also:
-
UP_COLUMN
- See Also:
-
DOWN_COLUMN
- See Also:
-
HIGHESTCOLUMN
- See Also:
-
-
Constructor Details
-
LocationTrackBlockingOrderTableModel
public LocationTrackBlockingOrderTableModel()
-
-
Method Details
-
initTable
-
getRowCount
- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
- Specified by:
getColumnCountin interfaceTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
removePropertyChangeTracks
-
dispose
-