|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.ApplicationConfig
jaxx.demo.DemoConfig
public class DemoConfig
La configuration de l'application. Il s'agit de l'objet partagé par toutes les démos.
| Nested Class Summary | |
|---|---|
static class |
DemoConfig.Option
|
| Nested classes/interfaces inherited from class org.nuiton.util.ApplicationConfig |
|---|
org.nuiton.util.ApplicationConfig.Action, org.nuiton.util.ApplicationConfig.CacheItem<T>, org.nuiton.util.ApplicationConfig.OptionDef |
| Field Summary | |
|---|---|
static java.lang.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 java.lang.String[] |
DEFAULT_JAXX_PCS
|
protected boolean |
fullscreen
un drapeau pour savoir si on est en mode pleine écran |
| Fields inherited from class org.nuiton.util.ApplicationConfig |
|---|
actions, aliases, cacheAction, cacheOption, classpath, CONFIG_FILE_NAME, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, options, pcs, unparsed, useOnlyAliases |
| Constructor Summary | |
|---|---|
DemoConfig()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCopyrightText()
|
java.lang.String |
getDemoPath()
|
java.util.Locale |
getLocale()
|
org.nuiton.util.Version |
getVersion()
|
boolean |
isFullScreen()
|
void |
removeJaxxPropertyChangeListener()
|
void |
saveForUser()
Save configuration, in user home directory using the ApplicationConfig.getConfigFileName(). |
void |
setFullscreen(boolean fullscreen)
|
void |
setLocale(java.util.Locale newLocale)
|
| Methods inherited from class org.nuiton.util.ApplicationConfig |
|---|
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, createAction, doAction, firePropertyChange, getConfigFileName, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsInt, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptionStartsWith, getParams, getPropertyChangeListeners, getPropertyChangeListeners, getUnparsed, getUserHome, getUsername, hasListeners, isUseOnlyAliases, parse, printConfig, removePropertyChangeListener, removePropertyChangeListener, save, saveForSystem, saveForUser, setConfigFileName, setDefaultOption, setOption, setUseOnlyAliases |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String APPLICATION_PROPERTIES
protected boolean fullscreen
public static final java.lang.String[] DEFAULT_JAXX_PCS
| Constructor Detail |
|---|
public DemoConfig()
| Method Detail |
|---|
public java.lang.String getCopyrightText()
public org.nuiton.util.Version getVersion()
public boolean isFullScreen()
public java.util.Locale getLocale()
public java.lang.String getDemoPath()
public void setFullscreen(boolean fullscreen)
public void setLocale(java.util.Locale newLocale)
public void saveForUser()
ApplicationConfig.getConfigFileName(). Default, env and commande line note saved
public void removeJaxxPropertyChangeListener()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||