jaxx.demo
Class DemoConfig

java.lang.Object
  extended by org.nuiton.util.ApplicationConfig
      extended by jaxx.demo.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:
1.7.2
Author:
chemit

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

APPLICATION_PROPERTIES

public static final 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, ...)

See Also:
Constant Field Values

fullscreen

protected boolean fullscreen
un drapeau pour savoir si on est en mode pleine écran


DEFAULT_JAXX_PCS

public static final java.lang.String[] DEFAULT_JAXX_PCS
Constructor Detail

DemoConfig

public DemoConfig()
Method Detail

getCopyrightText

public java.lang.String getCopyrightText()

getVersion

public org.nuiton.util.Version getVersion()
Returns:
la version de l'application.

isFullScreen

public boolean isFullScreen()

getLocale

public java.util.Locale getLocale()

getDemoPath

public java.lang.String getDemoPath()

setFullscreen

public void setFullscreen(boolean fullscreen)

setLocale

public void setLocale(java.util.Locale newLocale)

saveForUser

public void saveForUser()
Save configuration, in user home directory using the ApplicationConfig.getConfigFileName(). Default, env and commande line note saved


removeJaxxPropertyChangeListener

public void removeJaxxPropertyChangeListener()


Copyright © 2008-2009 CodeLutin. All Rights Reserved.