org.chorem.lima.ui.fiscalperiod
Class FiscalPeriodTableModel

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

public class FiscalPeriodTableModel
extends AbstractTableModel
implements ServiceListener

TODO add comment here.

Version:
$Revision: 3015 $ Last update : $Date: 2010-08-23 18:38:53 +0200 (Lun, 23 aoĆ» 2010) $ By : $Author: jpepin $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  FiscalPeriodServiceMonitorable fiscalPeriodService
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
FiscalPeriodTableModel()
           
 
Method Summary
 void addFiscalPeriod(FiscalPeriod period)
           
 void blockFiscalPeriod(FiscalPeriod fiscalPeriod)
           
 Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 Object getElementAt(int row)
           
 FiscalPeriod getFiscalPeriodAtRow(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

fiscalPeriodService

protected FiscalPeriodServiceMonitorable fiscalPeriodService
Constructor Detail

FiscalPeriodTableModel

public FiscalPeriodTableModel()
Method Detail

getRowCount

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

getColumnCount

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

getElementAt

public Object getElementAt(int row)

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

getValueAt

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

getFiscalPeriodAtRow

public FiscalPeriod getFiscalPeriodAtRow(int row)
                                  throws LimaException
Throws:
LimaException

addFiscalPeriod

public void addFiscalPeriod(FiscalPeriod period)
                     throws LimaException
Parameters:
period -
Throws:
LimaException

blockFiscalPeriod

public void blockFiscalPeriod(FiscalPeriod fiscalPeriod)
                       throws LimaException
Throws:
LimaException

notifyMethod

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


Copyright © 2008-2010 CodeLutin. All Rights Reserved.