jaxx.demo
Enum DemoConfig.Option
java.lang.Object
java.lang.Enum<DemoConfig.Option>
jaxx.demo.DemoConfig.Option
- All Implemented Interfaces:
- Serializable, Comparable<DemoConfig.Option>, org.nuiton.util.ApplicationConfig.OptionDef
- Enclosing class:
- DemoConfig
public static enum DemoConfig.Option
- extends Enum<DemoConfig.Option>
- implements org.nuiton.util.ApplicationConfig.OptionDef
CONFIG_FILE
public static final DemoConfig.Option CONFIG_FILE
FULL_SCREEN
public static final DemoConfig.Option FULL_SCREEN
LOCALE
public static final DemoConfig.Option LOCALE
FONT_SIZE
public static final DemoConfig.Option FONT_SIZE
DEMO_PATH
public static final DemoConfig.Option DEMO_PATH
key
public final String key
description
public final String description
defaultValue
public String defaultValue
type
public final Class<?> type
_transient
public boolean _transient
_final
public boolean _final
values
public static DemoConfig.Option[] 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 (DemoConfig.Option c : DemoConfig.Option.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DemoConfig.Option 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
setDefaultValue
public void setDefaultValue(String defaultValue)
- Specified by:
setDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef
setTransient
public void setTransient(boolean _transient)
- Specified by:
setTransient in interface org.nuiton.util.ApplicationConfig.OptionDef
setFinal
public void setFinal(boolean _final)
- Specified by:
setFinal 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
Copyright © 2008-2010 CodeLutin. All Rights Reserved.