|
|||||||||
| 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.DigipeatAliasTableModel
public class DigipeatAliasTableModel
This class manages the list of digipeat aliases recognized by YAAC.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Method Summary | |
|---|---|
void |
addRow()
|
void |
deleteRow(int rowIndex)
|
java.lang.Class<?> |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
Returns the number of columns in the model. |
java.lang.String |
getColumnName(int column)
Returns the localized name for the column. |
DigipeatAliasRecord |
getDigipeatRecord(java.lang.String baseCallsign)
Get a Digipeat alias record corresponding to the specified digipeater callsign, if such a record exists. |
static DigipeatAliasTableModel |
getInstance()
Get a reference to the singleton DigipeatAliasCatalog. |
DigipeatAliasRecord |
getRow(int rowIndex)
Get the Nth DigipeatAliasRecord in the catalog. |
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 |
isCellEditable(int rowIndex,
int columnIndex)
|
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
|
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DigipeatAliasTableModel getInstance()
public int getColumnCount()
getRowCount()public int getRowCount()
getColumnCount()
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
columnIndex and
rowIndex.
rowIndex - the row whose value is to be queriedcolumnIndex - the column whose value is to be queried
public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass in interface javax.swing.table.TableModelgetColumnClass in class javax.swing.table.AbstractTableModelpublic java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcolumn - the column being queried
column
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModelpublic void addRow()
public void deleteRow(int rowIndex)
public DigipeatAliasRecord getRow(int rowIndex)
rowIndex - zero-based row index
public DigipeatAliasRecord getDigipeatRecord(java.lang.String baseCallsign)
baseCallsign - String callsign to search for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||