Package jmri.jmrit.throttle
Class ThrottlesTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.throttle.ThrottlesTableModel
- All Implemented Interfaces:
PropertyChangeListener,Serializable,EventListener,TableModel,ConsistListListener
public class ThrottlesTableModel
extends AbstractTableModel
implements PropertyChangeListener, ConsistListListener
A TableModel to display active Throttles in a summary table
(see ThrottlesListPanel)
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetThrottleControllersContainerAt(int col_tw) getValueAt(int row_tf, int col_tw) voidmoveThrottleController(ThrottleControllerUI tf, int row_tf, int col_tw) voidReceive notification that the consist manager has changed its consist list.voidMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
ThrottlesTableModel
public ThrottlesTableModel()
-
-
Method Details
-
getRowCount
- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
- Specified by:
getColumnCountin interfaceTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
moveThrottleController
-
getThrottleControllersContainerAt
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
notifyConsistListChanged
Description copied from interface:ConsistListListenerReceive notification that the consist manager has changed its consist list.- Specified by:
notifyConsistListChangedin interfaceConsistListListener
-