public static class ContactsEntryTable.Model extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_CITY |
static int |
COLUMN_COMPANY |
static int |
COLUMN_CONTACTING |
static int |
COLUMN_COUNTRY |
static int |
COLUMN_DAY_OF_BIRTH |
static int |
COLUMN_ENTRY |
static int |
COLUMN_FIRSTNAME |
static int |
COLUMN_GROUP |
static int |
COLUMN_GROUP_ID |
static int |
COLUMN_ID |
static int |
COLUMN_LASTNAME |
static int |
COLUMN_LETTER_ADDRESS |
static int |
COLUMN_MAIL |
static int |
COLUMN_MOBILE |
static int |
COLUMN_PHONE |
static int |
COLUMN_POSTALCODE |
static int |
COLUMN_PUBLIC_ID |
static int |
COLUMN_REGION |
static int |
COLUMN_STATUS |
static int |
COLUMN_STREET |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
ContactsEntryTable.Model() |
Modifier and Type | Method and Description |
---|---|
void |
addContactsEntry(DbContactsEntry entry,
String groupName) |
protected Object[] |
buildRow(DbContactsEntry entry,
String groupName) |
Class |
getColumnClass(int col) |
String |
getColumnName(int col) |
DbContactsEntry |
getContactEntryAt(int row) |
Long |
getContactEntryIdAt(int row) |
Long |
getContactGroupIdAt(int row) |
boolean |
isCellEditable(int row,
int column) |
void |
setContactEntryAt(int row,
DbContactsEntry entry,
String groupName) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public static final int COLUMN_ENTRY
public static final int COLUMN_ID
public static final int COLUMN_PUBLIC_ID
public static final int COLUMN_LASTNAME
public static final int COLUMN_FIRSTNAME
public static final int COLUMN_COMPANY
public static final int COLUMN_STREET
public static final int COLUMN_POSTALCODE
public static final int COLUMN_CITY
public static final int COLUMN_REGION
public static final int COLUMN_COUNTRY
public static final int COLUMN_MAIL
public static final int COLUMN_PHONE
public static final int COLUMN_MOBILE
public static final int COLUMN_DAY_OF_BIRTH
public static final int COLUMN_LETTER_ADDRESS
public static final int COLUMN_GROUP
public static final int COLUMN_GROUP_ID
public static final int COLUMN_STATUS
public static final int COLUMN_CONTACTING
public void addContactsEntry(DbContactsEntry entry, String groupName)
protected Object[] buildRow(DbContactsEntry entry, String groupName)
public Class getColumnClass(int col)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class DefaultTableModel
public DbContactsEntry getContactEntryAt(int row)
public Long getContactEntryIdAt(int row)
public Long getContactGroupIdAt(int row)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
public void setContactEntryAt(int row, DbContactsEntry entry, String groupName)
Copyright © 2015 OpenEstate. All rights reserved.