public class ListReplyTableModel
extends javax.swing.table.AbstractTableModel
| Constructor and Description |
|---|
ListReplyTableModel(String reply)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount() |
String |
getColumnName(int col) |
int |
getKeyCount() |
String |
getKeyName(int col) |
String |
getNotice() |
int |
getRowCount() |
String |
getTablename() |
Object |
getValueAt(int row,
int col) |
void |
refresh(String reply)
Parse a reply list and refresh the data model.
|
int |
setColumnName(String hubname,
String newname)
You can redefine the column names for a table display.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic ListReplyTableModel(String reply)
reply - a seven element text list
for a selection result such as the reply value of
Datahub.sqlReply()public int getColumnCount()
public String getColumnName(int col)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic int getKeyCount()
public String getKeyName(int col)
public String getNotice()
public int getRowCount()
public String getTablename()
public Object getValueAt(int row,
int col)
public void refresh(String reply)
reply - a seven element text list
for a selection result such as the reply value of
Datahub.sqlReply()public int setColumnName(String hubname,
String newname)
hubname - the column name in the list datanewname - the desired replacement name