public class FinancialTransactionViewHandler extends Object implements ServiceListener, TableModelListener, TableColumnModelListener
| Modifier and Type | Field and Description |
|---|---|
protected Object |
clipBoard
Cache object used to copy & paste.
|
protected EntryBookService |
entryBookService |
protected FinancialPeriodService |
financialPeriodService |
protected FinancialTransactionService |
financialTransactionService |
protected FiscalPeriodService |
fiscalPeriodService |
protected FinancialTransactionView |
view
Managed view.
|
| Constructor and Description |
|---|
FinancialTransactionViewHandler(FinancialTransactionView view) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry()
Add new entry to selected transaction.
|
void |
addFinancialTransaction()
Add new transaction.
|
void |
assignAllEntries() |
void |
back(JComboBox comboBox)
Select previous value in combo box.
|
void |
balanceTransaction() |
void |
columnAdded(TableColumnModelEvent e) |
void |
columnMarginChanged(ChangeEvent e) |
void |
columnMoved(TableColumnModelEvent e) |
void |
columnRemoved(TableColumnModelEvent e) |
void |
columnSelectionChanged(ListSelectionEvent e) |
void |
copyEntry()
Copy selected Entry
|
void |
copyTransaction()
Copy selected Transaction
|
void |
deleteSelectedEntry() |
void |
deleteSelectedTransaction() |
void |
entryBookSelected(ItemEvent event)
New entry book selected.
|
void |
financialPeriodSelected(ItemEvent event)
New financial period selection.
|
void |
fiscalPeriodSelected(ItemEvent event)
New fiscal period selection.
|
void |
init()
Init all combo box in view.
|
protected void |
initShortCuts() |
void |
next(JComboBox comboBox)
Select next value in combo box.
|
void |
notifyMethod(String serviceName,
String methodName) |
void |
pasteEntry()
Paste row.
|
void |
pasteTransaction()
Paste Transaction.
|
void |
selectionChanged() |
void |
tableChanged(TableModelEvent e) |
void |
updateFinancialTransactions()
Fill transaction for selection fiscal period, financial perdiod
and entry book.
|
protected FinancialTransactionView view
protected Object clipBoard
protected EntryBookService entryBookService
protected FinancialPeriodService financialPeriodService
protected FiscalPeriodService fiscalPeriodService
protected FinancialTransactionService financialTransactionService
public FinancialTransactionViewHandler(FinancialTransactionView view)
public void init()
protected void initShortCuts()
public void fiscalPeriodSelected(ItemEvent event)
event - eventpublic void financialPeriodSelected(ItemEvent event)
event - eventpublic void entryBookSelected(ItemEvent event)
event - eventpublic void updateFinancialTransactions()
public void selectionChanged()
public void balanceTransaction()
public void copyTransaction()
public void copyEntry()
public void pasteTransaction()
public void pasteEntry()
public void addFinancialTransaction()
public void addEntry()
public void deleteSelectedTransaction()
public void deleteSelectedEntry()
public void assignAllEntries()
public void back(JComboBox comboBox)
comboBox - combo boxpublic void next(JComboBox comboBox)
comboBox - combo boxpublic void notifyMethod(String serviceName, String methodName)
notifyMethod in interface ServiceListenerpublic void tableChanged(TableModelEvent e)
tableChanged in interface TableModelListenerpublic void columnAdded(TableColumnModelEvent e)
columnAdded in interface TableColumnModelListenerpublic void columnRemoved(TableColumnModelEvent e)
columnRemoved in interface TableColumnModelListenerpublic void columnMoved(TableColumnModelEvent e)
columnMoved in interface TableColumnModelListenerpublic void columnMarginChanged(ChangeEvent e)
columnMarginChanged in interface TableColumnModelListenerpublic void columnSelectionChanged(ListSelectionEvent e)
columnSelectionChanged in interface TableColumnModelListenerCopyright © 2008–2013 CodeLutin. All rights reserved.