public static class AgencyEstateTable.Model extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_ACTION |
static int |
COLUMN_APARTMENT_NR |
static int |
COLUMN_AREA |
static int |
COLUMN_AVAILABLE_FROM |
static int |
COLUMN_AVAILABLE_UNTIL |
static int |
COLUMN_CHANGE_TIME |
static int |
COLUMN_CITY |
static int |
COLUMN_CONVENTIONED |
static int |
COLUMN_COUNTRY |
static int |
COLUMN_DISTRICT |
static int |
COLUMN_FLOOR |
static int |
COLUMN_ID |
static int |
COLUMN_NR |
static int |
COLUMN_OBJECT |
static int |
COLUMN_POSTALCODE |
static int |
COLUMN_PRICE |
static int |
COLUMN_REGION |
static int |
COLUMN_ROOMS |
static int |
COLUMN_SERVICE_CHARGES |
static int |
COLUMN_STATUS |
static int |
COLUMN_STREET |
static int |
COLUMN_TITLE |
static int |
COLUMN_TYPE |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
AgencyEstateTable.Model() |
AgencyEstateTable.Model(EstateTableExtension[] addons) |
Modifier and Type | Method and Description |
---|---|
void |
addEstate(DbAgencyObject object) |
protected Object[] |
buildRow(DbAgencyObject object) |
AddonColumn[] |
getAddonColumns() |
AddonColumn[] |
getAddonColumns(EstateTableExtension addon) |
Class |
getColumnClass(int col) |
String |
getColumnName(int col) |
DbAgencyObject |
getEstateAt(int row) |
Long |
getEstateIdAt(int row) |
DbAgencyObject.Status |
getEstateStatusAt(int row) |
boolean |
isCellEditable(int row,
int column) |
void |
loadExtensions(EstateTableExtension[] extensions) |
void |
setEstateAt(int row,
DbAgencyObject object) |
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_OBJECT
public static final int COLUMN_ID
public static final int COLUMN_NR
public static final int COLUMN_TYPE
public static final int COLUMN_ACTION
public static final int COLUMN_PRICE
public static final int COLUMN_SERVICE_CHARGES
public static final int COLUMN_AREA
public static final int COLUMN_ROOMS
public static final int COLUMN_TITLE
public static final int COLUMN_STREET
public static final int COLUMN_POSTALCODE
public static final int COLUMN_CITY
public static final int COLUMN_DISTRICT
public static final int COLUMN_REGION
public static final int COLUMN_COUNTRY
public static final int COLUMN_STATUS
public static final int COLUMN_CONVENTIONED
public static final int COLUMN_FLOOR
public static final int COLUMN_APARTMENT_NR
public static final int COLUMN_AVAILABLE_FROM
public static final int COLUMN_AVAILABLE_UNTIL
public static final int COLUMN_CHANGE_TIME
public AgencyEstateTable.Model()
public AgencyEstateTable.Model(EstateTableExtension[] addons)
public void addEstate(DbAgencyObject object)
protected Object[] buildRow(DbAgencyObject object)
public AddonColumn[] getAddonColumns()
public AddonColumn[] getAddonColumns(EstateTableExtension addon)
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 DbAgencyObject getEstateAt(int row)
public Long getEstateIdAt(int row)
public DbAgencyObject.Status getEstateStatusAt(int row)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
public final void loadExtensions(EstateTableExtension[] extensions)
public void setEstateAt(int row, DbAgencyObject object)
Copyright © 2015 OpenEstate. All rights reserved.