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.ResourceBundle
rb
-
Constructor Summary
Constructors Constructor Description WiThrottlesListModel(java.util.ArrayList<DeviceServer> deviceList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
java.lang.String
getColumnName(int col)
Added column LabelRosterId since 4.15.4.int
getRowCount()
java.lang.String
getValueAt(int row, int col)
void
updateDeviceList(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:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getValueAt
public java.lang.String getValueAt(int row, int col)
-
updateDeviceList
public void updateDeviceList(java.util.ArrayList<DeviceServer> deviceList)
-
-