public class DemoConfig
extends org.nuiton.util.ApplicationConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
DemoConfig.Option |
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, org.nuiton.util.ApplicationConfig.SubApplicationConfig| Modifier and Type | Field and Description |
|---|---|
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_KEY_OPEN_CONFIG |
static String |
PROPERTY_LOCALE |
static String |
PROPERTY_LOG_LEVEL |
static String |
PROPERTY_LOG_PATTERN_LAYOUT |
actions, ADJUSTING_PROPERTY, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_ENCODING, CONFIG_FILE_NAME, CONFIG_PATH, context, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, LIST_SEPARATOR, options, osName, pcs, unparsed, useOnlyAliases, userPath| Constructor and Description |
|---|
DemoConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCopyrightText() |
String |
getDemoPath() |
Float |
getFontSize() |
KeyStroke |
getKeyOpenConfig() |
Locale |
getLocale() |
String |
getLogLevel() |
String |
getLogPatternLayout() |
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 |
setKeyOpenConfig(KeyStroke keyStroke) |
void |
setLocale(Locale newLocale) |
void |
setLogLevel(String logLevel) |
void |
setLogPatternLayout(String logPatternLayout) |
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, convertOption, createAction, doAction, doAllAction, firePropertyChange, getActionStep, getConfigFileName, getConfigFileNameOption, getConfigPath, getEncoding, getEncodingOption, getFlatOptions, getFlatOptions, getMethods, getObject, getObject, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsFloat, getOptionAsInt, getOptionAsKeyStroke, getOptionAsList, getOptionAsLocale, getOptionAsLong, getOptionAsObject, getOptionAsObject, getOptionAsProperties, getOptionAsSingleton, getOptionAsSingleton, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptionAsVersion, getOptions, getOptionStartsWith, getParams, getPrintableConfig, getPropertyChangeListeners, getPropertyChangeListeners, getSubConfig, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigDirectory, getUserConfigFile, getUserHome, getUsername, hasListeners, hasOption, hasOption, init, installSaveUserAction, isAdjusting, isUseOnlyAliases, loadActions, loadActions, loadDefaultOptions, loadDefaultOptions, loadResource, migrateUserConfigurationFile, parse, printConfig, printConfig, putObject, putObject, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, saveResource, setAdjusting, setAppName, setConfigFileName, setDefaultOption, setEncoding, setOption, setOptions, setUseOnlyAliasespublic 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 PROPERTY_LOG_LEVEL
public static final String PROPERTY_LOG_PATTERN_LAYOUT
public static final String PROPERTY_KEY_OPEN_CONFIG
public static final String[] DEFAULT_JAXX_PCS
public String getCopyrightText()
public org.nuiton.util.Version getVersion()
public boolean isFullScreen()
public Locale getLocale()
public String getDemoPath()
public Float getFontSize()
public String getLogLevel()
public String getLogPatternLayout()
public KeyStroke getKeyOpenConfig()
public void setFullscreen(boolean fullscreen)
public void setLocale(Locale newLocale)
public void setFontSize(Float newFontSize)
public void setLogLevel(String logLevel)
public void setLogPatternLayout(String logPatternLayout)
public void setKeyOpenConfig(KeyStroke keyStroke)
public void saveForUser()
ApplicationConfig.getConfigFileName(). Default, env and commande line note savedpublic void removeJaxxPropertyChangeListener()
Copyright © 2008-2012 CodeLutin. All Rights Reserved.