public class FinancialTransactionUnbalancedTableModel extends AbstractTableModel implements ServiceListener
selectedFiscalPeriod(montée en charge !).| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.util.decorator.Decorator<Account> |
accountDecorator
To decorate account objects.
|
protected List<Object> |
cacheDataList
data cache
|
protected FinancialTransactionService |
financialTransactionService
Transaction service.
|
protected FiscalPeriod |
selectedFiscalPeriod
selected financial period
|
listenerList| Constructor and Description |
|---|
FinancialTransactionUnbalancedTableModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
addEmptyEntry(Object value,
String description,
int row) |
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int column) |
protected List<Object> |
getDataList()
Le model est une combinaison de Transaction/Entries.
|
Object |
getElementAt(int row) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
To set cells editable or not
different condition for entry or financial transaction
|
void |
notifyMethod(String serviceName,
String methodeName) |
void |
refresh() |
void |
removeObject(Object object,
int row)
Delete selected row in table (could be transaction or entry).
|
void |
setFiscalPeriod(FiscalPeriod fiscalPeriod) |
void |
setValueAt(Object value,
int row,
int column)
to modifiy financialtransaction or entry
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprotected final FinancialTransactionService financialTransactionService
protected FiscalPeriod selectedFiscalPeriod
protected final org.nuiton.util.decorator.Decorator<Account> accountDecorator
public FinancialTransactionUnbalancedTableModel()
protected List<Object> getDataList()
public void refresh()
public int getColumnCount()
getColumnCount in interface TableModelpublic Class<?> getColumnClass(int column)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int getRowCount()
getRowCount in interface TableModelpublic Object getValueAt(int row, int column)
getValueAt in interface TableModelpublic void setFiscalPeriod(FiscalPeriod fiscalPeriod)
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic int addEmptyEntry(Object value, String description, int row)
value - description - row - public void setValueAt(Object value, int row, int column)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic Object getElementAt(int row)
public void removeObject(Object object, int row)
object - row - public void notifyMethod(String serviceName, String methodeName)
notifyMethod in interface ServiceListenerCopyright © 2008-2012 CodeLutin. All Rights Reserved.