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_FILE  
    DEMO_CLASS  
    DEMO_COLOR  
    DEMO_PATH  
    FONT_SIZE  
    FULL_SCREEN  
    KEY_OPEN_CONFIG  
    LOCALE  
    LOG_LEVEL  
    LOG_PATTERN_LAYOUT  
  • Field Summary

    Fields
    Modifier and Type Field Description
    boolean _final  
    boolean _transient  
    java.lang.String defaultValue  
    java.lang.String description  
    java.lang.String key  
    java.lang.Class<?> type  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDefaultValue()  
    java.lang.String getDescription()  
    java.lang.String getKey()  
    java.lang.Class<?> getType()  
    boolean isFinal()  
    boolean isTransient()  
    void setDefaultValue​(java.lang.String defaultValue)  
    void setFinal​(boolean _final)  
    void setTransient​(boolean _transient)  
    static DemoConfig.Option valueOf​(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, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • 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

      public static DemoConfig.Option[] 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

      public static DemoConfig.Option valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • isFinal

      public boolean isFinal()
      Specified by:
      isFinal in interface org.nuiton.config.ConfigOptionDef
    • setDefaultValue

      public void setDefaultValue​(java.lang.String defaultValue)
      Specified by:
      setDefaultValue in interface org.nuiton.config.ConfigOptionDef
    • setTransient

      public void setTransient​(boolean _transient)
      Specified by:
      setTransient in interface org.nuiton.config.ConfigOptionDef
    • setFinal

      public void setFinal​(boolean _final)
      Specified by:
      setFinal in interface org.nuiton.config.ConfigOptionDef
    • isTransient

      public boolean isTransient()
      Specified by:
      isTransient in interface org.nuiton.config.ConfigOptionDef
    • getDefaultValue

      public java.lang.String getDefaultValue()
      Specified by:
      getDefaultValue in interface org.nuiton.config.ConfigOptionDef
    • getDescription

      public java.lang.String getDescription()
      Specified by:
      getDescription in interface org.nuiton.config.ConfigOptionDef
    • getKey

      public java.lang.String getKey()
      Specified by:
      getKey in interface org.nuiton.config.ConfigOptionDef
    • getType

      public java.lang.Class<?> getType()
      Specified by:
      getType in interface org.nuiton.config.ConfigOptionDef