public class DemoConfig
extends org.jdesktop.beans.AbstractBean
implements com.google.common.base.Supplier<org.nuiton.util.config.ApplicationConfig>
| Modifier and Type | Class and Description |
|---|---|
static class |
DemoConfig.Option |
| 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_DEMO_CLASS |
static String |
PROPERTY_DEMO_COLOR |
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 |
| Constructor and Description |
|---|
DemoConfig(String... args) |
| Modifier and Type | Method and Description |
|---|---|
org.nuiton.util.config.ApplicationConfig |
get() |
URL |
getApplicationSiteUrl() |
String |
getCopyrightText() |
Class<?> |
getDemoClass() |
Color |
getDemoColor() |
String |
getDemoPath() |
Float |
getFontSize() |
String |
getIconPath() |
KeyStroke |
getKeyOpenConfig() |
String |
getLicensePath() |
Locale |
getLocale() |
String |
getLogLevel() |
String |
getLogPatternLayout() |
String |
getThirdParty() |
org.nuiton.util.Version |
getVersion() |
protected void |
installSaveUserAction(String... properties)
TODO Remove this when the method in ApplicationConfig will be public
Install the
saveUserAction on givne properties. |
boolean |
isFullScreen() |
void |
removeJaxxPropertyChangeListener() |
void |
saveForUser() |
void |
setDemoClass(Class<?> newClass) |
void |
setDemoColor(Color color) |
void |
setFontSize(Float newFontSize) |
void |
setFullscreen(boolean fullscreen) |
void |
setKeyOpenConfig(KeyStroke keyStroke) |
void |
setLocale(Locale newLocale) |
void |
setLogLevel(String logLevel) |
void |
setLogPatternLayout(String logPatternLayout) |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic 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_DEMO_COLOR
public static final String PROPERTY_DEMO_CLASS
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 DemoConfig(String... args)
public org.nuiton.util.config.ApplicationConfig get()
get in interface com.google.common.base.Supplier<org.nuiton.util.config.ApplicationConfig>protected void installSaveUserAction(String... properties)
saveUserAction on givne properties.properties - properties on which insalls the saveUserActionpublic String getCopyrightText()
public org.nuiton.util.Version getVersion()
public boolean isFullScreen()
public Locale getLocale()
public String getDemoPath()
public Float getFontSize()
public Color getDemoColor()
public Class<?> getDemoClass()
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 setDemoColor(Color color)
public void setDemoClass(Class<?> newClass)
public void setLogLevel(String logLevel)
public void setLogPatternLayout(String logPatternLayout)
public void setKeyOpenConfig(KeyStroke keyStroke)
public void saveForUser()
public void removeJaxxPropertyChangeListener()
public URL getApplicationSiteUrl()
public String getIconPath()
public String getLicensePath()
public String getThirdParty()
Copyright © 2008–2013 CodeLutin. All rights reserved.