org.chorem.lima.ui.financialperiod
Class FinancialPeriodTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.chorem.lima.ui.financialperiod.FinancialPeriodTableModel
All Implemented Interfaces:
Serializable, TableModel, ServiceListener

public class FinancialPeriodTableModel
extends AbstractTableModel
implements ServiceListener

TODO add comment here.

Version:
$Revision: 3051 $ Last update : $Date: 2010-11-29 15:57:16 +0100 (lun., 29 nov. 2010) $ By : $Author: echatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  List<ClosedPeriodicEntryBook> cacheDataList
          Datas cache
protected  FinancialPeriodServiceMonitorable financialPeriodService
          service
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
FinancialPeriodTableModel()
           
 
Method Summary
 void blockFinancialPeriod(ClosedPeriodicEntryBook closedPeriodicEntryBook)
           
 Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 void getDataList()
           
 Object getElementAt(int row)
           
 ClosedPeriodicEntryBook getFinancialPeriodAtRow(int row)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void notifyMethod(String serviceName, String methodeName)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

financialPeriodService

protected FinancialPeriodServiceMonitorable financialPeriodService
service


cacheDataList

protected List<ClosedPeriodicEntryBook> cacheDataList
Datas cache

Constructor Detail

FinancialPeriodTableModel

public FinancialPeriodTableModel()
Method Detail

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getColumnClass

public Class<?> getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

getFinancialPeriodAtRow

public ClosedPeriodicEntryBook getFinancialPeriodAtRow(int row)
                                                throws LimaException
Throws:
LimaException

getElementAt

public Object getElementAt(int row)

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

getDataList

public void getDataList()

blockFinancialPeriod

public void blockFinancialPeriod(ClosedPeriodicEntryBook closedPeriodicEntryBook)
                          throws LimaException
Throws:
LimaException

notifyMethod

public void notifyMethod(String serviceName,
                         String methodeName)
Specified by:
notifyMethod in interface ServiceListener


Copyright © 2008-2011 CodeLutin. All Rights Reserved.