com.openindex.openestate.tool.agency
Class AgencyEstateTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by javax.swing.table.DefaultTableModel
          extended by com.openindex.openestate.tool.agency.AgencyEstateTableModel
All Implemented Interfaces:
Serializable, TableModel

public class AgencyEstateTableModel
extends DefaultTableModel

AgencyEstateTableModel.
$Id: AgencyEstateTableModel.java 856 2011-04-29 22:30:40Z andy $

Author:
Andreas Rudolph
See Also:
Serialized Form

Field Summary
static int COLUMN_ACTION
           
static int COLUMN_AREA
           
static int COLUMN_CHANGE_TIME
           
static int COLUMN_CITY
           
static int COLUMN_CITYPART
           
static int COLUMN_COUNTRY
           
static int COLUMN_CURRENCY
           
static int COLUMN_ID
           
static int COLUMN_KONVENTIONIERT
           
static int COLUMN_NR
           
static int COLUMN_POSTALCODE
           
static int COLUMN_PRICE
           
static int COLUMN_ROOMS
           
static int COLUMN_STATUS
           
static int COLUMN_STREET
           
static int COLUMN_TITLE
           
static int COLUMN_TYPE
           
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AgencyEstateTableModel()
           
 
Method Summary
 void addEstate(AgencyEstate.Row row)
           
 void clear()
           
 Class getColumnClass(int col)
           
 String getColumnName(int col)
           
 Long getEstateIdAt(int row)
           
 boolean isCellEditable(int row, int column)
           
 
Methods inherited from class javax.swing.table.DefaultTableModel
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
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_ID

public static final int COLUMN_ID
See Also:
Constant Field Values

COLUMN_NR

public static final int COLUMN_NR
See Also:
Constant Field Values

COLUMN_TYPE

public static final int COLUMN_TYPE
See Also:
Constant Field Values

COLUMN_ACTION

public static final int COLUMN_ACTION
See Also:
Constant Field Values

COLUMN_PRICE

public static final int COLUMN_PRICE
See Also:
Constant Field Values

COLUMN_AREA

public static final int COLUMN_AREA
See Also:
Constant Field Values

COLUMN_ROOMS

public static final int COLUMN_ROOMS
See Also:
Constant Field Values

COLUMN_TITLE

public static final int COLUMN_TITLE
See Also:
Constant Field Values

COLUMN_STREET

public static final int COLUMN_STREET
See Also:
Constant Field Values

COLUMN_POSTALCODE

public static final int COLUMN_POSTALCODE
See Also:
Constant Field Values

COLUMN_CITY

public static final int COLUMN_CITY
See Also:
Constant Field Values

COLUMN_CITYPART

public static final int COLUMN_CITYPART
See Also:
Constant Field Values

COLUMN_COUNTRY

public static final int COLUMN_COUNTRY
See Also:
Constant Field Values

COLUMN_STATUS

public static final int COLUMN_STATUS
See Also:
Constant Field Values

COLUMN_KONVENTIONIERT

public static final int COLUMN_KONVENTIONIERT
See Also:
Constant Field Values

COLUMN_CURRENCY

public static final int COLUMN_CURRENCY
See Also:
Constant Field Values

COLUMN_CHANGE_TIME

public static final int COLUMN_CHANGE_TIME
See Also:
Constant Field Values
Constructor Detail

AgencyEstateTableModel

public AgencyEstateTableModel()
Method Detail

addEstate

public void addEstate(AgencyEstate.Row row)

clear

public void clear()

getColumnClass

public Class getColumnClass(int col)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getColumnName

public String getColumnName(int col)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class DefaultTableModel

getEstateIdAt

public Long getEstateIdAt(int row)

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class DefaultTableModel


Copyright © 2012 OpenEstate. All Rights Reserved.