org.chorem.lima.ui.vatreports
Class VatReportTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.chorem.lima.ui.vatreports.VatReportTableModel
- All Implemented Interfaces:
- Serializable, TableModel, ServiceListener
public class VatReportTableModel
- extends AbstractTableModel
- implements ServiceListener
- See Also:
- Serialized Form
| 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 |
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
VatReportTableModel
public VatReportTableModel()
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.