|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.ka2ddo.yaac.gui.TXIGatedStationsTableModel
public class TXIGatedStationsTableModel
This class defines a TableModel for viewing the status of stations TX-IGated by this station.
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
TXIGatedStationsTableModel()
|
Method Summary | |
---|---|
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. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt |
Constructor Detail |
---|
public TXIGatedStationsTableModel()
Method Detail |
---|
public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
columnIndex
- the column being queried
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
column
- the column being queried
column
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getRowCount()
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.TableModel
getColumnCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
columnIndex
and
rowIndex
.
getValueAt
in interface javax.swing.table.TableModel
rowIndex
- the row whose value is to be queriedcolumnIndex
- the column whose value is to be queried
public int getColumnWidth(int columnIndex)
getColumnWidth
in interface ColumnSizingTableModel
columnIndex
- int index of the model's column whose width should be obtained
public boolean isSizeToFit(int columnIndex)
isSizeToFit
in interface ColumnSizingTableModel
columnIndex
- int index of the model's column whose width should be obtained
public void txIGatedStationAdded(int index)
Digipeater.TXIGatedStationStatusListener
txIGatedStationAdded
in interface Digipeater.TXIGatedStationStatusListener
index
- position in list of I-gated stationspublic void txIGatedStationUpdated(int index)
Digipeater.TXIGatedStationStatusListener
txIGatedStationUpdated
in interface Digipeater.TXIGatedStationStatusListener
index
- position in list of I-gated stationspublic void txIGatedStationDeleted(int index)
Digipeater.TXIGatedStationStatusListener
txIGatedStationDeleted
in interface Digipeater.TXIGatedStationStatusListener
index
- position in list of I-gated stations
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |