Package jaxx.demo
Enum DemoConfig.Option
- All Implemented Interfaces:
Serializable,Comparable<DemoConfig.Option>,java.lang.constant.Constable,org.nuiton.config.ConfigOptionDef
- Enclosing class:
- DemoConfig
public static enum DemoConfig.Option extends Enum<DemoConfig.Option> implements org.nuiton.config.ConfigOptionDef
-
Nested Class Summary
-
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_transientStringdefaultValueStringdescriptionStringkeyClass<?>type -
Method Summary
Modifier and Type Method Description StringgetDefaultValue()StringgetDescription()StringgetKey()Class<?>getType()booleanisFinal()booleanisTransient()voidsetDefaultValue(String defaultValue)voidsetFinal(boolean _final)voidsetTransient(boolean _transient)static DemoConfig.OptionvalueOf(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.
-
Enum Constant Details
-
Field Details
-
key
-
description
-
defaultValue
-
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isFinal
public boolean isFinal()- Specified by:
isFinalin interfaceorg.nuiton.config.ConfigOptionDef
-
setDefaultValue
- 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
- Specified by:
getDefaultValuein interfaceorg.nuiton.config.ConfigOptionDef
-
getDescription
- Specified by:
getDescriptionin interfaceorg.nuiton.config.ConfigOptionDef
-
getKey
- Specified by:
getKeyin interfaceorg.nuiton.config.ConfigOptionDef
-
getType
- Specified by:
getTypein interfaceorg.nuiton.config.ConfigOptionDef
-