|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
adams.gui.core.AbstractBaseTableModel
adams.gui.selection.AbstractTableBasedSelectionPanel.AbstractSelectionTableModel<T>
adams.gui.tools.AbstractManagementTableModel<EmailContact>
adams.gui.tools.EmailAddressBookPanel.TableModel
public static class EmailAddressBookPanel.TableModel
A simple table model for displaying the contacts.
| Field Summary |
|---|
| Fields inherited from class adams.gui.tools.AbstractManagementTableModel |
|---|
m_Values |
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
EmailAddressBookPanel.TableModel()
the constructor. |
|
EmailAddressBookPanel.TableModel(EmailContact[] contacts)
the constructor. |
|
EmailAddressBookPanel.TableModel(Vector<EmailContact> contacts)
the constructor. |
|
| Method Summary | |
|---|---|
Class |
getColumnClass(int columnIndex)
Returns the class type of the column. |
int |
getColumnCount()
Returns the number of columns in the table, i.e., 6. |
String |
getColumnName(int column)
Returns the name of the column. |
Object |
getValueAt(int row,
int column)
Returns the substance value at the given position. |
boolean |
isSearchMatch(SearchParameters params,
int row)
Tests whether the search matches the specified row. |
| Methods inherited from class adams.gui.tools.AbstractManagementTableModel |
|---|
add, addAll, clear, getItemAt, getRowCount, indexOf |
| Methods inherited from class adams.gui.core.AbstractBaseTableModel |
|---|
toSpreadSheet, toString |
| 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, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt |
| Constructor Detail |
|---|
public EmailAddressBookPanel.TableModel()
public EmailAddressBookPanel.TableModel(Vector<EmailContact> contacts)
contacts - the contacts to displaypublic EmailAddressBookPanel.TableModel(EmailContact[] contacts)
contacts - the contacts to display| Method Detail |
|---|
public int getColumnCount()
getColumnCount in interface TableModelgetColumnCount in class AbstractManagementTableModel<EmailContact>public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractManagementTableModel<EmailContact>column - the column to get the name for
public Class getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractManagementTableModel<EmailContact>columnIndex - the column to get the class for
public Object getValueAt(int row,
int column)
getValueAt in interface TableModelgetValueAt in class AbstractManagementTableModel<EmailContact>row - the rowcolumn - the column (ignored, since only 1 column)
public boolean isSearchMatch(SearchParameters params,
int row)
isSearchMatch in interface CustomSearchTableModelisSearchMatch in class AbstractManagementTableModel<EmailContact>params - the search parametersrow - the row of the underlying, unsorted model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||