fr.ifremer.coser
Class CoserConfig

java.lang.Object
  extended by org.nuiton.util.ApplicationConfig
      extended by fr.ifremer.coser.CoserBusinessConfig
          extended by fr.ifremer.coser.CoserConfig

public class CoserConfig
extends CoserBusinessConfig

Coser application configuration.

Version:
$Revision: 899 $ Last update : $Date: 2011-11-17 15:22:11 +0100 (jeu., 17 nov. 2011) $ By : $Author: echatellier $
Author:
chatellier

Nested Class Summary
static class CoserConfig.CoserOption
           
 
Nested classes/interfaces inherited from class fr.ifremer.coser.CoserBusinessConfig
CoserBusinessConfig.CoserBusinessOption
 
Nested classes/interfaces inherited from class org.nuiton.util.ApplicationConfig
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
 
Field Summary
 
Fields inherited from class org.nuiton.util.ApplicationConfig
actions, ADJUSTING_PROPERTY, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_ENCODING, CONFIG_FILE_NAME, CONFIG_PATH, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, LIST_SEPARATOR, options, osName, pcs, unparsed, useOnlyAliases, userPath
 
Constructor Summary
CoserConfig()
           
 
Method Summary
 String getApplicationVersion()
           
 String getLookAndFeel()
           
 String getSupportEmail()
           
 int getSwingFontSize()
           
 String getWebsiteURL()
           
 void setLookAndFeel(String lookAndFeel)
           
 void setSupportEmail(String supportEmail)
           
 void setSwingFontSize(int swingFontSize)
           
 void updateSwingFont()
          Update swing fonts properties.
protected  void updateSwingFont(int newIncrease)
          Update swing fonts properties.
 
Methods inherited from class fr.ifremer.coser.CoserBusinessConfig
getControlDiffCatchLength, getControlNobsmin, getControlTypeFish, getDatabaseDirectory, getLocale, getNewResultNotificationList, getProjectsDirectory, getReferenceSpeciesPath, getReferenceTypeEspecesPath, getSelectionDensityFilter, getSelectionOccurrenceFilter, getSmtpHost, getValidatorsDirectory, getWebFrontEnd, getWebIndicatorsFile, getWebIndicatorsProjectsDirectory, getWebMapsProjectsDirectory, getWebPropertiesFile, getWebUploadURL, getWebZonesFile, setControlDiffCatchLength, setControlNobsmin, setControlTypeFish, setDatabaseDirectory, setLocale, setOption, setProjectsDirectory, setReferenceSpeciesPath, setReferenceTypeEspecesPath, setSelectionDensityFilter, setSelectionOccurrenceFilter, setSmtpHost, setValidatorsDirectory, setWebFrontEnd, setWebIndicatorsFile, setWebZonesFile
 
Methods inherited from class org.nuiton.util.ApplicationConfig
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, convertOption, createAction, doAction, doAllAction, firePropertyChange, getActionStep, getConfigFileName, getConfigFileNameOption, getConfigPath, getEncoding, getEncodingOption, getFlatOptions, getFlatOptions, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsFloat, getOptionAsInt, getOptionAsList, getOptionAsLocale, getOptionAsLong, getOptionAsProperties, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptionAsVersion, getOptions, getOptionStartsWith, getParams, getPrintableConfig, getPropertyChangeListeners, getPropertyChangeListeners, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigDirectory, getUserConfigFile, getUserHome, getUsername, hasListeners, installSaveUserAction, isAdjusting, isUseOnlyAliases, loadActions, loadDefaultOptions, loadResource, migrateUserConfigurationFile, parse, printConfig, printConfig, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, saveResource, setAdjusting, setAppName, setConfigFileName, setDefaultOption, setEncoding, setOptions, setUseOnlyAliases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoserConfig

public CoserConfig()
Method Detail

getLookAndFeel

public String getLookAndFeel()

setLookAndFeel

public void setLookAndFeel(String lookAndFeel)

getApplicationVersion

public String getApplicationVersion()

setSupportEmail

public void setSupportEmail(String supportEmail)

getSupportEmail

public String getSupportEmail()

getWebsiteURL

public String getWebsiteURL()

getSwingFontSize

public int getSwingFontSize()

setSwingFontSize

public void setSwingFontSize(int swingFontSize)

updateSwingFont

public void updateSwingFont()
Update swing fonts properties.


updateSwingFont

protected void updateSwingFont(int newIncrease)
Update swing fonts properties.

Parameters:
newIncrease - increase gap to apply to font


Copyright © 2010-2011 Ifremer. All Rights Reserved.