com.openindex.openestate.tool.agency.addons
Class ContactsEntryEstateTableModel

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

public class ContactsEntryEstateTableModel
extends DefaultTableModel

ContactsEntryEstateTableModel.
$Id: ContactsEntryEstateTableModel.java 869 2011-05-05 06:21:33Z andy $

Author:
Andreas Rudolph
See Also:
Serialized Form

Field Summary
static int COLUMN_ENTRY
           
static int COLUMN_ESTATE_ID
           
static int COLUMN_ESTATE_NR
           
static int COLUMN_ESTATE_STATUS
           
static int COLUMN_ESTATE_TITLE
           
static int COLUMN_TEXT
           
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
ContactsEntryEstateTableModel()
           
 
Method Summary
 void addEstate(AgencyEstate.Row estate, ContactsEntryEstate entry)
           
 void clear()
           
 Class getColumnClass(int col)
           
 String getColumnName(int col)
           
 String getDescriptionAt(int row)
           
 ContactsEntryEstate getEntryAt(int row)
           
 long getEstateIdAt(int row)
           
 boolean isCellEditable(int row, int column)
           
 void setEstateAt(int row, AgencyEstate.Row estate, ContactsEntryEstate entry)
           
 
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_ENTRY

public static final int COLUMN_ENTRY
See Also:
Constant Field Values

COLUMN_ESTATE_ID

public static final int COLUMN_ESTATE_ID
See Also:
Constant Field Values

COLUMN_ESTATE_NR

public static final int COLUMN_ESTATE_NR
See Also:
Constant Field Values

COLUMN_ESTATE_TITLE

public static final int COLUMN_ESTATE_TITLE
See Also:
Constant Field Values

COLUMN_ESTATE_STATUS

public static final int COLUMN_ESTATE_STATUS
See Also:
Constant Field Values

COLUMN_TYPE

public static final int COLUMN_TYPE
See Also:
Constant Field Values

COLUMN_TEXT

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

ContactsEntryEstateTableModel

public ContactsEntryEstateTableModel()
Method Detail

addEstate

public void addEstate(AgencyEstate.Row estate,
                      ContactsEntryEstate entry)

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

getDescriptionAt

public String getDescriptionAt(int row)

getEntryAt

public ContactsEntryEstate getEntryAt(int row)

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

setEstateAt

public void setEstateAt(int row,
                        AgencyEstate.Row estate,
                        ContactsEntryEstate entry)


Copyright © 2012 OpenEstate. All Rights Reserved.