jaxx.demo.config
Class DemoConfig

java.lang.Object
  extended by org.nuiton.util.ApplicationConfig
      extended by jaxx.demo.config.DemoConfig

public class DemoConfig
extends org.nuiton.util.ApplicationConfig

La configuration de l'application.

Il s'agit de l'objet partagé par toutes les démos.

Since:
2.0.2
Author:
tchemit

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 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 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, options, osName, pcs, unparsed, useOnlyAliases, userPath
 
Constructor Summary
DemoConfig()
           
 
Method Summary
 Float getFontSize()
           
 Locale getLocale()
           
 boolean isFullScreen()
           
 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, 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, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigFile, getUserHome, getUsername, getUserPath, hasListeners, installSaveUserAction, isAdjusting, isUseOnlyAliases, 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

APPLICATION_PROPERTIES

public static final String APPLICATION_PROPERTIES
le fichier de configuration de l'application avec les informations sur le projet (version, license,...) et la configuration des ui (icons, ...)

See Also:
Constant Field Values

PROPERTY_FULLSCREEN

public static final String PROPERTY_FULLSCREEN
See Also:
Constant Field Values

PROPERTY_LOCALE

public static final String PROPERTY_LOCALE
See Also:
Constant Field Values

PROPERTY_FONT_SIZE

public static final String PROPERTY_FONT_SIZE
See Also:
Constant Field Values
Constructor Detail

DemoConfig

public DemoConfig()
Method Detail

isFullScreen

public boolean isFullScreen()

getLocale

public Locale getLocale()

getFontSize

public Float getFontSize()

setFullscreen

public void setFullscreen(boolean fullscreen)

setLocale

public void setLocale(Locale newLocale)

setFontSize

public void setFontSize(Float newFontSize)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.