public class LimaSwingApplicationContext
extends jaxx.runtime.context.DefaultApplicationContext
| Modifier and Type | Field and Description |
|---|---|
static jaxx.runtime.context.JAXXContextEntryDef<LimaSwingConfig> |
CONFIG_DEF |
static jaxx.runtime.context.JAXXContextEntryDef<org.nuiton.decorator.DecoratorProvider> |
DECORATOR_PROVIDER_DEF |
protected static LimaSwingApplicationContext |
instance
l'intance partagée accessible après un appel à la méthode
init() |
static jaxx.runtime.context.JAXXContextEntryDef<MainView> |
MAIN_UI_ENTRY_DEF |
| Constructor and Description |
|---|
LimaSwingApplicationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the application's context.
|
static LimaSwingApplicationContext |
get()
Récupération du contexte applicatif.
|
LimaSwingConfig |
getConfig() |
static LimaSwingApplicationContext |
getContext() |
org.nuiton.decorator.DecoratorProvider |
getDecoratorProvider() |
MainView |
getMainUI() |
static LimaSwingApplicationContext |
init()
Permet l'initialisation du contexte applicatif et positionne
l'instance partagée.
|
void |
initI18n(LimaSwingConfig config) |
static boolean |
isInit() |
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, fireEntryChanged, fireEntryChanged, firePropertyChange, getContextValue, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, newAccess, newAccess, newInstance, removeContextValue, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, setContextValueprotected static LimaSwingApplicationContext instance
init()public static jaxx.runtime.context.JAXXContextEntryDef<MainView> MAIN_UI_ENTRY_DEF
public static jaxx.runtime.context.JAXXContextEntryDef<org.nuiton.decorator.DecoratorProvider> DECORATOR_PROVIDER_DEF
public static jaxx.runtime.context.JAXXContextEntryDef<LimaSwingConfig> CONFIG_DEF
public static boolean isInit()
true si le context a été initialisé via la méthode
init(), public static LimaSwingApplicationContext init() throws IllegalStateException
IllegalStateException - si un contexte applicatif a déja été positionné.public static LimaSwingApplicationContext get() throws IllegalStateException
IllegalStateException - si le contexte n'a pas été initialisé via
la méthode init()public LimaSwingConfig getConfig()
public org.nuiton.decorator.DecoratorProvider getDecoratorProvider()
public void initI18n(LimaSwingConfig config)
public MainView getMainUI()
public void close()
throws Exception
Exception - if any pb while closingpublic static LimaSwingApplicationContext getContext()
Copyright © 2008–2015 CodeLutin. All rights reserved.