|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.ApplicationConfig
com.jurismarches.vradi.VradiConfig
public class VradiConfig
| Nested Class Summary | |
|---|---|
static class |
VradiConfig.Action
|
static class |
VradiConfig.Option
|
static class |
VradiConfig.Step
|
| Nested classes/interfaces inherited from class org.nuiton.util.ApplicationConfig |
|---|
org.nuiton.util.ApplicationConfig.CacheItem<T>, org.nuiton.util.ApplicationConfig.OptionDef |
| Field Summary | |
|---|---|
static String |
APPLICATION_PROPERTIES
le fichier de configuration de l'application avec les informations sur le projet (version, license,...) et la configuration des ui (icons, ...) |
static String[] |
DEFAULT_JAXX_PCS
|
protected boolean |
fullscreen
un drapeau pour savoir si on est en mode pleine écran |
static String |
USER_DIRECTORY_FILENAME
le nom du repertoire ou sont les donnees de l'application |
protected static File |
vradiUserDirectory
le repertoire utilisateur de l'application |
| Fields inherited from class org.nuiton.util.ApplicationConfig |
|---|
actions, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_FILE_NAME, CONFIG_PATH, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, options, osName, pcs, unparsed, useOnlyAliases, userPath |
| Constructor Summary | |
|---|---|
VradiConfig()
|
|
| Method Summary | |
|---|---|
String |
getCopyrightText()
|
org.nuiton.util.Version |
getDbVersion()
|
Locale |
getLocale()
|
File |
getUserFile()
|
org.nuiton.util.Version |
getVersion()
La version du logiciel constitue de l.d.r l: le numero de version du logiciel d: le numero de version du schema de la base de donnees r: le numero de version de de l'interface graphique ou autre modif mineur lors de l'increment de l, d et r sont remis a 0 lors de l'increment de d et r sont remis a 0 lors de l'increment de r est remis a 0 Un changement d'UI ne modifie jamais le numero de version de database Un changement de schema de base pour lequel on ne peut pas faire de migration de donnees demande automatiquement un changement de version d'application. |
File |
getVradiUserDirectory()
|
void |
initActions()
|
boolean |
isCanUseUI()
|
boolean |
isDisplayMainUI()
|
boolean |
isFullScreen()
|
void |
removeJaxxPropertyChangeListener()
|
void |
setCanUseUI(boolean canUseUI)
|
void |
setDisplayMainUI(boolean b)
|
void |
setFullscreen(boolean fullscreen)
|
void |
setLocale(Locale newLocale)
|
| Methods inherited from class org.nuiton.util.ApplicationConfig |
|---|
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, createAction, doAction, firePropertyChange, getConfigFileName, getConfigFileNameOption, getConfigPath, getFlatOptions, getFlatOptions, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsInt, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptions, getOptionStartsWith, getParams, getPropertyChangeListeners, getPropertyChangeListeners, getSystemConfigurationPath, getUnparsed, getUserHome, getUsername, getUserPath, hasListeners, isUseOnlyAliases, migrateUserConfigurationFile, parse, printConfig, printConfig, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, setAppName, setConfigFileName, setDefaultOption, setOption, setOptions, setUseOnlyAliases |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String APPLICATION_PROPERTIES
public static final String USER_DIRECTORY_FILENAME
protected static File vradiUserDirectory
protected boolean fullscreen
public static final String[] DEFAULT_JAXX_PCS
| Constructor Detail |
|---|
public VradiConfig()
| Method Detail |
|---|
public File getVradiUserDirectory()
public File getUserFile()
public void initActions()
public String getCopyrightText()
public org.nuiton.util.Version getVersion()
public org.nuiton.util.Version getDbVersion()
public boolean isFullScreen()
public boolean isDisplayMainUI()
public boolean isCanUseUI()
public Locale getLocale()
public void setFullscreen(boolean fullscreen)
public void setDisplayMainUI(boolean b)
public void setCanUseUI(boolean canUseUI)
public void setLocale(Locale newLocale)
public void removeJaxxPropertyChangeListener()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||