public class MainViewHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.widget.SwingSession |
swingSession |
| Constructor and Description |
|---|
MainViewHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeLanguage(MainView mainUI,
Locale newLocale) |
void |
close(MainView ui)
Ferme l'application.
|
protected boolean |
ensureModification(jaxx.runtime.JAXXContext rootContext)
Test if there is some modification on screen,
|
protected File |
getLimaStateFile() |
protected MainView |
getUI(jaxx.runtime.JAXXContext context) |
void |
gotoSite(jaxx.runtime.JAXXContext context) |
MainView |
initUI(LimaSwingApplicationContext rootContext)
Methode pour initialiser l'ui principale sans l'afficher.
|
void |
loadURI(MainView ui) |
static void |
openLink(String url) |
protected void |
reloadUI(LimaSwingApplicationContext rootContext)
Permet de recharger l'ui principale et de changer de le mode d'affichage.
|
void |
showAbout(jaxx.runtime.JAXXContext context) |
void |
showAccountView(jaxx.runtime.JAXXContext rootContext)
Show account tree table view to create or modify accounts
|
void |
showConfig(jaxx.runtime.JAXXContext context) |
void |
showEntryBookView(jaxx.runtime.JAXXContext rootContext)
Show account tree table view to create or modify accounts
|
void |
showFinancialPeriodView(jaxx.runtime.JAXXContext rootContext)
Show financial period view to create or block a period
|
void |
showFinancialStatementView(jaxx.runtime.JAXXContext rootContext)
Show financial statement view to generate balance sheet and income statement
|
void |
showFiscalPeriodView(jaxx.runtime.JAXXContext rootContext)
Show fiscal period view to create or block a period
|
void |
showHomeView(jaxx.runtime.JAXXContext rootContext) |
void |
showIdentity(jaxx.runtime.JAXXContext rootContext) |
void |
showImportExportView(jaxx.runtime.JAXXContext rootContext,
ImportExportEnum type) |
void |
showLetteringView(jaxx.runtime.JAXXContext rootContext) |
protected void |
showTab(MainView ui,
String name,
Component container)
Show a new closable tab.
|
protected void |
showTab(MainView ui,
String name,
Component container,
boolean canClose)
Show a new closable tab.
|
void |
showTransactionSearchView(jaxx.runtime.JAXXContext rootContext) |
void |
showTransactionUnbalancedView(jaxx.runtime.JAXXContext rootContext) |
void |
showTransactionView(jaxx.runtime.JAXXContext rootContext)
Show financial transactions view to create entries
|
void |
showVatChartView(jaxx.runtime.JAXXContext rootContext)
Show vat chart to generate vat document
|
public MainView initUI(LimaSwingApplicationContext rootContext)
rootContext - le context applicatifprotected File getLimaStateFile()
public void close(MainView ui)
ui - l'ui principale de l'applicationpublic void showConfig(jaxx.runtime.JAXXContext context)
public void gotoSite(jaxx.runtime.JAXXContext context)
public void showAbout(jaxx.runtime.JAXXContext context)
protected void reloadUI(LimaSwingApplicationContext rootContext)
rootContext - le contexte applicatifprotected boolean ensureModification(jaxx.runtime.JAXXContext rootContext)
throws IllegalArgumentException
rootContext - the contexttrue if no more modification is detectedIllegalArgumentException - if rootContext is nullprotected MainView getUI(jaxx.runtime.JAXXContext context)
public void showHomeView(jaxx.runtime.JAXXContext rootContext)
public void showIdentity(jaxx.runtime.JAXXContext rootContext)
public void showAccountView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showEntryBookView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showFiscalPeriodView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showFinancialPeriodView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showFinancialStatementView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showVatChartView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showTransactionView(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showTransactionUnbalancedView(jaxx.runtime.JAXXContext rootContext)
public void showTransactionSearchView(jaxx.runtime.JAXXContext rootContext)
public void showLetteringView(jaxx.runtime.JAXXContext rootContext)
public void showImportExportView(jaxx.runtime.JAXXContext rootContext,
ImportExportEnum type)
public void loadURI(MainView ui)
public static void openLink(String url)
protected void showTab(MainView ui, String name, Component container, boolean canClose)
ui - main uiname - name of tab to showcontainer - the tab containercanClose - false if tab can't be closedCopyright © 2008–2015 CodeLutin. All rights reserved.