org.chorem.lima.ui.vatreports
Class VatReportTableModel

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

public class VatReportTableModel
extends AbstractTableModel
implements ServiceListener

See Also:
Serialized Form

Field Summary
protected  String autocomplete
          variable used for the document edition, if "true" then the document will be automatically filled in if "false" the the document will be empty
protected  List<VatStatementAmounts> cacheDataList
          data cache
protected  FinancialTransactionServiceMonitorable financialTransactionService
           
protected  ImportServiceMonitorable importService
           
protected  ReportServiceMonitorable reportService
          Services.
protected  Date selectedBeginDate
          selected financial period
protected  Date selectedEndDate
           
protected  VatStatementServiceMonitorable vatStatementService
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
VatReportTableModel()
           
 
Method Summary
 String getAutocomplete()
           
 Date getBeginDate()
           
 Class<?> getColumnClass(int column)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
protected  List<VatStatementAmounts> getDataList()
           
 VatStatementAmounts getElementAt(int row)
           
 Date getEndDate()
           
 int getRowCount()
           
 Object getValueAt(int row, int column)
           
 boolean isCellEditable(int row, int column)
           
 void notifyMethod(String serviceName, String methodeName)
           
 void refresh()
           
 void setAutocomplete()
           
 void setBeginDate(Date date)
           
 void setEndDate(Date date)
           
 
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

reportService

protected ReportServiceMonitorable reportService
Services.


vatStatementService

protected VatStatementServiceMonitorable vatStatementService

financialTransactionService

protected FinancialTransactionServiceMonitorable financialTransactionService

importService

protected ImportServiceMonitorable importService

selectedBeginDate

protected Date selectedBeginDate
selected financial period


selectedEndDate

protected Date selectedEndDate

cacheDataList

protected List<VatStatementAmounts> cacheDataList
data cache


autocomplete

protected String autocomplete
variable used for the document edition, if "true" then the document will be automatically filled in if "false" the the document will be empty

Constructor Detail

VatReportTableModel

public VatReportTableModel()
Method Detail

getDataList

protected List<VatStatementAmounts> getDataList()
                                         throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

refresh

public void refresh()

getColumnClass

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

getColumnName

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

getRowCount

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

getColumnCount

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

getElementAt

public VatStatementAmounts getElementAt(int row)

getValueAt

public Object getValueAt(int row,
                         int column)
Specified by:
getValueAt in interface TableModel

setBeginDate

public void setBeginDate(Date date)

getBeginDate

public Date getBeginDate()

setEndDate

public void setEndDate(Date date)

getEndDate

public Date getEndDate()

getAutocomplete

public String getAutocomplete()

setAutocomplete

public void setAutocomplete()

isCellEditable

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

notifyMethod

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


Copyright © 2008-2011 CodeLutin. All Rights Reserved.