com.openindex.openestate.tool.contacts.addons
Class CalendarEntryContactTableModel

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

public class CalendarEntryContactTableModel
extends DefaultTableModel

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

Author:
Andreas Rudolph
See Also:
Serialized Form

Field Summary
static int COLUMN_ADRESS_COMPANY
           
static int COLUMN_ADRESS_ID
           
static int COLUMN_ADRESS_LINE1
           
static int COLUMN_ADRESS_LINE2
           
static int COLUMN_ADRESS_PERSON
           
static int COLUMN_DESCRIPTION
           
static int COLUMN_ENTRY
           
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CalendarEntryContactTableModel()
          Erzeugt eine Instanz der Klasse 'CalendarEntryContactTableModel'
 
Method Summary
 void addContact(ContactsEntry.Row contact, ContactsEntryCalendar entry)
           
 void clear()
           
 Class getColumnClass(int col)
           
 String getColumnName(int col)
           
 ContactsEntryCalendar getEntryAt(int row)
           
 boolean isCellEditable(int row, int column)
           
 void setContactAt(int row, ContactsEntry.Row contact, ContactsEntryCalendar 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_ADRESS_ID

public static final int COLUMN_ADRESS_ID
See Also:
Constant Field Values

COLUMN_ADRESS_COMPANY

public static final int COLUMN_ADRESS_COMPANY
See Also:
Constant Field Values

COLUMN_ADRESS_PERSON

public static final int COLUMN_ADRESS_PERSON
See Also:
Constant Field Values

COLUMN_ADRESS_LINE1

public static final int COLUMN_ADRESS_LINE1
See Also:
Constant Field Values

COLUMN_ADRESS_LINE2

public static final int COLUMN_ADRESS_LINE2
See Also:
Constant Field Values

COLUMN_DESCRIPTION

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

CalendarEntryContactTableModel

public CalendarEntryContactTableModel()
Erzeugt eine Instanz der Klasse 'CalendarEntryContactTableModel'

Method Detail

addContact

public void addContact(ContactsEntry.Row contact,
                       ContactsEntryCalendar 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

getEntryAt

public ContactsEntryCalendar getEntryAt(int row)

isCellEditable

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

setContactAt

public void setContactAt(int row,
                         ContactsEntry.Row contact,
                         ContactsEntryCalendar entry)


Copyright © 2012 OpenEstate. All Rights Reserved.