fr.ifremer.coser
Enum CoserConfig.CoserOption
java.lang.Object
java.lang.Enum<CoserConfig.CoserOption>
fr.ifremer.coser.CoserConfig.CoserOption
- All Implemented Interfaces:
- Serializable, Comparable<CoserConfig.CoserOption>, org.nuiton.util.ApplicationConfig.OptionDef
- Enclosing class:
- CoserConfig
public static enum CoserConfig.CoserOption
- extends Enum<CoserConfig.CoserOption>
- implements org.nuiton.util.ApplicationConfig.OptionDef
CONFIG_FILE
public static final CoserConfig.CoserOption CONFIG_FILE
LOOKANDFEEL
public static final CoserConfig.CoserOption LOOKANDFEEL
APPLICATION_VERSION
public static final CoserConfig.CoserOption APPLICATION_VERSION
SUPPORT_EMAIL
public static final CoserConfig.CoserOption SUPPORT_EMAIL
WEBSITE_URL
public static final CoserConfig.CoserOption WEBSITE_URL
SWING_FONT_SIZE
public static final CoserConfig.CoserOption SWING_FONT_SIZE
key
protected String key
description
protected String description
defaultValue
protected String defaultValue
type
protected Class<?> type
isTransient
protected boolean isTransient
isFinal
protected boolean isFinal
values
public static CoserConfig.CoserOption[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CoserConfig.CoserOption c : CoserConfig.CoserOption.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CoserConfig.CoserOption valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
isFinal
public boolean isFinal()
- Specified by:
isFinal in interface org.nuiton.util.ApplicationConfig.OptionDef
isTransient
public boolean isTransient()
- Specified by:
isTransient in interface org.nuiton.util.ApplicationConfig.OptionDef
getDefaultValue
public String getDefaultValue()
- Specified by:
getDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef
getDescription
public String getDescription()
- Specified by:
getDescription in interface org.nuiton.util.ApplicationConfig.OptionDef
getKey
public String getKey()
- Specified by:
getKey in interface org.nuiton.util.ApplicationConfig.OptionDef
getType
public Class<?> getType()
- Specified by:
getType in interface org.nuiton.util.ApplicationConfig.OptionDef
setDefaultValue
public void setDefaultValue(String defaultValue)
- Specified by:
setDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef
setTransient
public void setTransient(boolean isTransient)
- Specified by:
setTransient in interface org.nuiton.util.ApplicationConfig.OptionDef
setFinal
public void setFinal(boolean isFinal)
- Specified by:
setFinal in interface org.nuiton.util.ApplicationConfig.OptionDef
Copyright © 2010-2011 Ifremer. All Rights Reserved.