|
||||||||||
| 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.ActionDef, org.nuiton.util.ApplicationConfig.CacheItem<T>, org.nuiton.util.ApplicationConfig.OptionDef, org.nuiton.util.ApplicationConfig.OptionList |
| 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
|
static String |
PROPERTY_FONT_SIZE
|
static String |
PROPERTY_FULLSCREEN
|
static String |
PROPERTY_LOCALE
|
| Fields inherited from class org.nuiton.util.ApplicationConfig |
|---|
actions, ADJUSTING_PROPERTY, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_FILE_NAME, CONFIG_PATH, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, LIST_SEPARATOR, options, osName, pcs, unparsed, useOnlyAliases, userPath |
| Constructor Summary | |
|---|---|
DemoConfig()
|
|
| Method Summary | |
|---|---|
String |
getCopyrightText()
|
String |
getDemoPath()
|
Float |
getFontSize()
|
Locale |
getLocale()
|
org.nuiton.util.Version |
getVersion()
|
boolean |
isFullScreen()
|
void |
removeJaxxPropertyChangeListener()
|
void |
saveForUser()
Save configuration, in user home directory using the ApplicationConfig.getConfigFileName(). |
void |
setFontSize(Float newFontSize)
|
void |
setFullscreen(boolean fullscreen)
|
void |
setLocale(Locale newLocale)
|
| Methods inherited from class org.nuiton.util.ApplicationConfig |
|---|
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, convertOption, createAction, doAction, firePropertyChange, getConfigFileName, getConfigFileNameOption, getConfigPath, getFlatOptions, getFlatOptions, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsFloat, getOptionAsInt, getOptionAsList, getOptionAsLocale, getOptionAsProperties, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptionAsVersion, getOptions, getOptionStartsWith, getParams, getPrintableConfig, getPropertyChangeListeners, getPropertyChangeListeners, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigDirectory, getUserConfigFile, getUserHome, getUsername, hasListeners, installSaveUserAction, isAdjusting, isUseOnlyAliases, loadActions, loadDefaultOptions, migrateUserConfigurationFile, parse, printConfig, printConfig, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, setAdjusting, 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 PROPERTY_FULLSCREEN
public static final String PROPERTY_LOCALE
public static final String PROPERTY_FONT_SIZE
public static final String[] DEFAULT_JAXX_PCS
| Constructor Detail |
|---|
public DemoConfig()
| Method Detail |
|---|
public String getCopyrightText()
public org.nuiton.util.Version getVersion()
public boolean isFullScreen()
public Locale getLocale()
public String getDemoPath()
public Float getFontSize()
public void setFullscreen(boolean fullscreen)
public void setLocale(Locale newLocale)
public void setFontSize(Float newFontSize)
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 | |||||||||