Package jmri.jmrit.withrottle
Class WiThrottlesListModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.withrottle.WiThrottlesListModel
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.table.TableModel
public class WiThrottlesListModel extends javax.swing.table.AbstractTableModel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayList<DeviceServer>deviceList(package private) static java.util.ResourceBundlerb
-
Constructor Summary
Constructors Constructor Description WiThrottlesListModel(java.util.ArrayList<DeviceServer> deviceList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnCount()java.lang.StringgetColumnName(int col)Added column LabelRosterId since 4.15.4.intgetRowCount()java.lang.StringgetValueAt(int row, int col)voidupdateDeviceList(java.util.ArrayList<DeviceServer> deviceList)-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Field Detail
-
deviceList
java.util.ArrayList<DeviceServer> deviceList
-
rb
static final java.util.ResourceBundle rb
-
-
Constructor Detail
-
WiThrottlesListModel
WiThrottlesListModel(java.util.ArrayList<DeviceServer> deviceList)
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getColumnName
public java.lang.String getColumnName(int col)
Added column LabelRosterId since 4.15.4.- Specified by:
getColumnNamein interfacejavax.swing.table.TableModel- Overrides:
getColumnNamein classjavax.swing.table.AbstractTableModel
-
getValueAt
public java.lang.String getValueAt(int row, int col)
-
updateDeviceList
public void updateDeviceList(java.util.ArrayList<DeviceServer> deviceList)
-
-