public static class HealthMonitorGui.TMIGate extends javax.swing.table.AbstractTableModel implements MonitoredStationListener, HealthMonitorGui.MonitoredStationGettingModel
| Constructor and Description |
|---|
TMIGate()
Create an Igate/digipeater status table model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shut down the asynchronous update listeners in this table model.
|
java.lang.Class<?> |
getColumnClass(int columnIndex)
Returns the data Class for the specified column.
|
int |
getColumnCount()
Returns the number of columns in the model.
|
java.lang.String |
getColumnName(int column)
Returns the localized name for the column.
|
int |
getRowCount()
Get the number of rows in the table model (effectively, the number of monitored stations).
|
MonitoredStation |
getStation(int rowIndex)
Get the station associated with the specified row.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Get the display value for the specified table cell.
|
void |
stationAdded(int index,
MonitoredStation station)
Tell the listener that a new station has been added to the MonitoredStationList.
|
void |
stationRemoved(int index,
MonitoredStation station)
Tell the listener that a station is no longer being monitored.
|
void |
stationUpdated(int index,
MonitoredStation station)
Tell the listener that data about a MonitoredStation has changed.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelgetRowCount()public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass in interface javax.swing.table.TableModelgetColumnClass in class javax.swing.table.AbstractTableModelcolumnIndex - the column being queriedpublic java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcolumn - the column being queriedcolumnpublic MonitoredStation getStation(int rowIndex)
getStation in interface HealthMonitorGui.MonitoredStationGettingModelrowIndex - the zero-based row index for the desired stationpublic void stationAdded(int index,
MonitoredStation station)
stationAdded in interface MonitoredStationListenerindex - int zero-based position in the list where the station has been addedstation - MonitoredStation object to addpublic void stationUpdated(int index,
MonitoredStation station)
stationUpdated in interface MonitoredStationListenerindex - zero-based index of the station in the MonitoredStationListstation - MonitoredStation whose data has been updatedpublic void stationRemoved(int index,
MonitoredStation station)
stationRemoved in interface MonitoredStationListenerindex - int zero-based position in the MonitoredStationList where the station used to bestation - MonitoredStation being removedpublic int getRowCount()
getRowCount in interface javax.swing.table.TableModelpublic java.lang.Object getValueAt(int rowIndex,
int columnIndex)
getValueAt in interface javax.swing.table.TableModelrowIndex - zero-based row numbercolumnIndex - zero-based column numberpublic void close()