jmri.jmrit.withrottle
Class WiThrottlesListModel

Show UML class diagram
java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by jmri.jmrit.withrottle.WiThrottlesListModel
All Implemented Interfaces:
Serializable, TableModel

public class WiThrottlesListModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
(package private)  ArrayList<DeviceServer> deviceList
           
(package private) static org.slf4j.Logger log
           
(package private) static ResourceBundle rb
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
WiThrottlesListModel(ArrayList<DeviceServer> deviceList)
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int col)
           
 int getRowCount()
           
 String getValueAt(int row, int col)
           
 void updateDeviceList(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deviceList

ArrayList<DeviceServer> deviceList

rb

static final ResourceBundle rb

log

static org.slf4j.Logger log
Constructor Detail

WiThrottlesListModel

WiThrottlesListModel(ArrayList<DeviceServer> deviceList)
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

public String getColumnName(int col)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getValueAt

public String getValueAt(int row,
                         int col)

updateDeviceList

public void updateDeviceList(ArrayList<DeviceServer> deviceList)


Copyright © 1997-2013 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