| Modifier and Type | Field and Description |
|---|---|
static String |
OPEN_CONFIG_ACTION |
| Constructor and Description |
|---|
DemoUIHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addKeyStrokes(DemoUI ui,
DemoConfig config) |
void |
afterInit(DemoUI ui) |
void |
beforeInit(DemoUI ui) |
void |
changeLanguage(JAXXContext context,
Locale newLocale) |
void |
changeScreen(JAXXContext context,
boolean fullscreen)
Méthode pour changer de mode d'affichage.
|
void |
close(JAXXContext context)
Ferme l'application.
|
void |
displayUI(DemoUI ui,
String[] nodePath) |
protected <E extends Component> |
getContentIfExist(DemoUI ui,
String constraints) |
void |
gotoSite(JAXXContext context) |
DemoUI |
initUI(DefaultApplicationContext rootContext,
DemoConfig config)
Methode pour initialiser l'ui principale sans l'afficher.
|
void |
reloadUI(DefaultApplicationContext rootContext,
DemoConfig config)
Permet de recharger l'ui principale et de changer de le mode d'affichage.
|
protected void |
setShowConfigInputMap(InputMap inputMap,
KeyStroke keyStroke) |
void |
showAbout(DemoUI ui) |
void |
showConfig(JAXXContext context) |
void |
showHelp(DemoUI ui) |
void |
showHelp(JAXXContext context,
String helpId) |
protected void |
showUI(DemoUI ui,
Class<?> type) |
public static final String OPEN_CONFIG_ACTION
public DemoUI initUI(DefaultApplicationContext rootContext, DemoConfig config)
rootContext - le context applicatifconfig - la configuration a utiliserprotected void addKeyStrokes(DemoUI ui, DemoConfig config)
public void beforeInit(DemoUI ui)
beforeInit in interface UIHandler<DemoUI>protected <E extends Component> E getContentIfExist(DemoUI ui, String constraints)
public void reloadUI(DefaultApplicationContext rootContext, DemoConfig config)
rootContext - le contexte applicatifconfig - la configuration a utiliserpublic void changeScreen(JAXXContext context, 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.context - l'ui principale de l'applicationfullscreen - le nouvel état requis.public void changeLanguage(JAXXContext context, Locale newLocale)
public void close(JAXXContext context)
context - l'ui principale de l'applicationpublic void showConfig(JAXXContext context)
public void showHelp(DemoUI ui)
public void showHelp(JAXXContext context, String helpId)
public void gotoSite(JAXXContext context)
public void showAbout(DemoUI ui)
Copyright © 2008–2020 Ultreia.io. All rights reserved.