public class DemoConfig
extends org.jdesktop.beans.AbstractBean
implements com.google.common.base.Supplier<org.nuiton.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) |
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.config.ApplicationConfig get()
protected void installSaveUserAction(String... properties)
saveUserAction on givne properties.properties - properties on which insalls the saveUserActionpublic String getCopyrightText()
public org.nuiton.version.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 getHelpLocation()
Copyright © 2008–2017 Ultreia.io. All rights reserved.