Package jaxx.demo
Enum DemoConfig.Option
java.lang.Object
java.lang.Enum<DemoConfig.Option>
jaxx.demo.DemoConfig.Option
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DemoConfig.Option>,java.lang.constant.Constable,org.nuiton.config.ConfigOptionDef
- Enclosing class:
- DemoConfig
public static enum DemoConfig.Option extends java.lang.Enum<DemoConfig.Option> implements org.nuiton.config.ConfigOptionDef
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description CONFIG_FILEDEMO_CLASSDEMO_COLORDEMO_PATHFONT_SIZEFULL_SCREENKEY_OPEN_CONFIGLOCALELOG_LEVELLOG_PATTERN_LAYOUT -
Field Summary
Fields Modifier and Type Field Description boolean_finalboolean_transientjava.lang.StringdefaultValuejava.lang.Stringdescriptionjava.lang.Stringkeyjava.lang.Class<?>type -
Method Summary
Modifier and Type Method Description java.lang.StringgetDefaultValue()java.lang.StringgetDescription()java.lang.StringgetKey()java.lang.Class<?>getType()booleanisFinal()booleanisTransient()voidsetDefaultValue(java.lang.String defaultValue)voidsetFinal(boolean _final)voidsetTransient(boolean _transient)static DemoConfig.OptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DemoConfig.Option[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
CONFIG_FILE
-
FULL_SCREEN
-
LOCALE
-
FONT_SIZE
-
DEMO_COLOR
-
DEMO_CLASS
-
LOG_LEVEL
-
LOG_PATTERN_LAYOUT
-
KEY_OPEN_CONFIG
-
DEMO_PATH
-
-
Field Details
-
key
public final java.lang.String key -
description
public final java.lang.String description -
defaultValue
public java.lang.String defaultValue -
type
public final java.lang.Class<?> type -
_transient
public boolean _transient -
_final
public boolean _final
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isFinal
public boolean isFinal()- Specified by:
isFinalin interfaceorg.nuiton.config.ConfigOptionDef
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)- Specified by:
setDefaultValuein interfaceorg.nuiton.config.ConfigOptionDef
-
setTransient
public void setTransient(boolean _transient)- Specified by:
setTransientin interfaceorg.nuiton.config.ConfigOptionDef
-
setFinal
public void setFinal(boolean _final)- Specified by:
setFinalin interfaceorg.nuiton.config.ConfigOptionDef
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceorg.nuiton.config.ConfigOptionDef
-
getDefaultValue
public java.lang.String getDefaultValue()- Specified by:
getDefaultValuein interfaceorg.nuiton.config.ConfigOptionDef
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceorg.nuiton.config.ConfigOptionDef
-
getKey
public java.lang.String getKey()- Specified by:
getKeyin interfaceorg.nuiton.config.ConfigOptionDef
-
getType
public java.lang.Class<?> getType()- Specified by:
getTypein interfaceorg.nuiton.config.ConfigOptionDef
-