public static class AgencyContactTable.Model extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_CITY |
static int |
COLUMN_COUNTRY |
static int |
COLUMN_FAX |
static int |
COLUMN_FIRSTNAME |
static int |
COLUMN_ID |
static int |
COLUMN_LASTNAME |
static int |
COLUMN_MAIL |
static int |
COLUMN_PHONE |
static int |
COLUMN_POSTALCODE |
static int |
COLUMN_STREET |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
AgencyContactTable.Model() |
Modifier and Type | Method and Description |
---|---|
void |
addContact(DbAgencyContact contact) |
Class |
getColumnClass(int col) |
String |
getColumnName(int col) |
Long |
getContactIdAt(int row) |
boolean |
isCellEditable(int row,
int column) |
void |
setContactAt(int row,
DbAgencyContact contact) |
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_ID
public static final int COLUMN_LASTNAME
public static final int COLUMN_FIRSTNAME
public static final int COLUMN_STREET
public static final int COLUMN_POSTALCODE
public static final int COLUMN_CITY
public static final int COLUMN_COUNTRY
public static final int COLUMN_MAIL
public static final int COLUMN_PHONE
public static final int COLUMN_FAX
public void addContact(DbAgencyContact contact)
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 Long getContactIdAt(int row)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
public void setContactAt(int row, DbAgencyContact contact)
Copyright © 2015 OpenEstate. All rights reserved.