public static enum CoserConfig.CoserOption extends Enum<CoserConfig.CoserOption> implements org.nuiton.util.ApplicationConfig.OptionDef
| Enum Constant and Description |
|---|
APPLICATION_VERSION |
CONFIG_FILE |
LOOKANDFEEL |
SUPPORT_EMAIL |
SWING_FONT_SIZE |
WEBSITE_URL |
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultValue |
protected String |
description |
protected boolean |
isFinal |
protected boolean |
isTransient |
protected String |
key |
protected Class<?> |
type |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue() |
String |
getDescription() |
String |
getKey() |
Class<?> |
getType() |
boolean |
isFinal() |
boolean |
isTransient() |
void |
setDefaultValue(String defaultValue) |
void |
setFinal(boolean isFinal) |
void |
setTransient(boolean isTransient) |
static CoserConfig.CoserOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoserConfig.CoserOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoserConfig.CoserOption CONFIG_FILE
public static final CoserConfig.CoserOption LOOKANDFEEL
public static final CoserConfig.CoserOption APPLICATION_VERSION
public static final CoserConfig.CoserOption SUPPORT_EMAIL
public static final CoserConfig.CoserOption WEBSITE_URL
public static final CoserConfig.CoserOption SWING_FONT_SIZE
protected String key
protected String description
protected String defaultValue
protected Class<?> type
protected boolean isTransient
protected boolean isFinal
public static CoserConfig.CoserOption[] values()
for (CoserConfig.CoserOption c : CoserConfig.CoserOption.values()) System.out.println(c);
public static CoserConfig.CoserOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean isFinal()
isFinal in interface org.nuiton.util.ApplicationConfig.OptionDefpublic boolean isTransient()
isTransient in interface org.nuiton.util.ApplicationConfig.OptionDefpublic String getDefaultValue()
getDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDefpublic String getDescription()
getDescription in interface org.nuiton.util.ApplicationConfig.OptionDefpublic String getKey()
getKey in interface org.nuiton.util.ApplicationConfig.OptionDefpublic Class<?> getType()
getType in interface org.nuiton.util.ApplicationConfig.OptionDefpublic void setDefaultValue(String defaultValue)
setDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDefpublic void setTransient(boolean isTransient)
setTransient in interface org.nuiton.util.ApplicationConfig.OptionDefpublic void setFinal(boolean isFinal)
setFinal in interface org.nuiton.util.ApplicationConfig.OptionDefCopyright © 2010-2013 Ifremer. All Rights Reserved.