Package jmri.jmrit.z21server
Class Z21ClientsListModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.z21server.Z21ClientsListModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
public class Z21ClientsListModel extends javax.swing.table.AbstractTableModel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayList<java.net.InetAddress>
addrList
-
Constructor Summary
Constructors Constructor Description Z21ClientsListModel()
-
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
updateClientList()
-
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
-
addrList
java.util.ArrayList<java.net.InetAddress> addrList
-
-
Constructor Detail
-
Z21ClientsListModel
Z21ClientsListModel()
-
-
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)
-
updateClientList
public void updateClientList()
-
-