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 |
changeScreen(MainView ui,
boolean fullscreen)
Méthode pour changer de mode d'affichage.
|
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(LimaContext rootContext,
boolean fullscreen)
Methode pour initialiser l'ui principale sans l'afficher.
|
void |
loadURI(MainView ui) |
protected void |
reloadUI(LimaContext rootContext,
boolean fullscreen)
Permet de recharger l'ui principale et de changer de le mode d'affichage.
|
void |
showAbout(jaxx.runtime.JAXXContext context) |
void |
showAccountReports(jaxx.runtime.JAXXContext rootContext)
Show account table report to view an account on a period
|
void |
showAccountView(jaxx.runtime.JAXXContext rootContext)
Show account tree table view to create or modify accounts
|
void |
showBalanceView(jaxx.runtime.JAXXContext rootContext) |
void |
showConfig(jaxx.runtime.JAXXContext context) |
void |
showEntryBookReports(jaxx.runtime.JAXXContext rootContext)
Show entry book table report to view an account on a period
|
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 |
showFinancialStatementReportsView(jaxx.runtime.JAXXContext rootContext) |
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 |
showLedgerView(jaxx.runtime.JAXXContext rootContext) |
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
|
void |
showVatReportView(jaxx.runtime.JAXXContext rootContext) |
public MainView initUI(LimaContext rootContext, boolean fullscreen)
rootContext - le context applicatiffullscreen - flag pour indiquer si on doit ouvrir l'ui en model console (pleine ecran).protected File getLimaStateFile()
public void close(MainView ui)
ui - l'ui principale de l'applicationpublic void changeScreen(MainView ui, boolean fullscreen)
fullscreen est à true alors on passe en
mode console (c'est à dire en mode plein écran exclusif), sinon on
passe en mode fenetré normal.ui - l'ui principale de l'applicationfullscreen - le nouvel état requis.public void showConfig(jaxx.runtime.JAXXContext context)
public void gotoSite(jaxx.runtime.JAXXContext context)
public void showAbout(jaxx.runtime.JAXXContext context)
protected void reloadUI(LimaContext rootContext, boolean fullscreen)
rootContext - le contexte applicatiffullscreen - le type de fenetre à reouvrirprotected 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 showAccountReports(jaxx.runtime.JAXXContext rootContext)
rootContext - the root application contextpublic void showEntryBookReports(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 showBalanceView(jaxx.runtime.JAXXContext rootContext)
public void showLedgerView(jaxx.runtime.JAXXContext rootContext)
public void showFinancialStatementReportsView(jaxx.runtime.JAXXContext rootContext)
public void showVatReportView(jaxx.runtime.JAXXContext rootContext)
public void showImportExportView(jaxx.runtime.JAXXContext rootContext,
ImportExportEnum type)
public void loadURI(MainView ui)
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–2014 CodeLutin. All rights reserved.