public class TXIGatedStationsTableModel extends javax.swing.table.AbstractTableModel implements Digipeater.TXIGatedStationStatusListener, ColumnSizingTableModel, java.io.Closeable
| Constructor and Description |
|---|
TXIGatedStationsTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this table model and releases any system resources associated
with it.
|
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 |
getColumnWidth(int columnIndex)
Specifies the default initial width of a column from this model.
|
int |
getRowCount()
Returns the number of rows in the model.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value for the cell at
columnIndex and
rowIndex. |
boolean |
isSizeToFit(int columnIndex)
Specifies whether setWidthToFit() should be enabled on this column
|
void |
txIGatedStationAdded(int index)
Inform listener that a station has been added to the list of I-gated stations.
|
void |
txIGatedStationDeleted(int index)
Inform listener that a station is no longer being I-gated by this station (timed out).
|
void |
txIGatedStationUpdated(int index)
Inform listener that a station has been forwarded again.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic 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 int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelgetRowCount()public int getRowCount()
JTable uses this method to determine how many rows it
should display. This method should be quick, as it
is called frequently during rendering.getRowCount in interface javax.swing.table.TableModelgetColumnCount()public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
columnIndex and
rowIndex.getValueAt in interface javax.swing.table.TableModelrowIndex - the row whose value is to be queriedcolumnIndex - the column whose value is to be queriedpublic int getColumnWidth(int columnIndex)
getColumnWidth in interface ColumnSizingTableModelcolumnIndex - int index of the model's column whose width should be obtainedpublic boolean isSizeToFit(int columnIndex)
isSizeToFit in interface ColumnSizingTableModelcolumnIndex - int index of the model's column whose width should be obtainedpublic void txIGatedStationAdded(int index)
txIGatedStationAdded in interface Digipeater.TXIGatedStationStatusListenerindex - position in list of I-gated stationspublic void txIGatedStationUpdated(int index)
txIGatedStationUpdated in interface Digipeater.TXIGatedStationStatusListenerindex - position in list of I-gated stationspublic void txIGatedStationDeleted(int index)
txIGatedStationDeleted in interface Digipeater.TXIGatedStationStatusListenerindex - position in list of I-gated stationspublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable