org.chorem.vradi
Enum VradiConfig.VradiSwingOption

java.lang.Object
  extended by java.lang.Enum<VradiConfig.VradiSwingOption>
      extended by org.chorem.vradi.VradiConfig.VradiSwingOption
All Implemented Interfaces:
Serializable, Comparable<VradiConfig.VradiSwingOption>, org.nuiton.util.ApplicationConfig.OptionDef
Enclosing class:
VradiConfig

public static enum VradiConfig.VradiSwingOption
extends Enum<VradiConfig.VradiSwingOption>
implements org.nuiton.util.ApplicationConfig.OptionDef

Vradi option enum.


Enum Constant Summary
COLUMNS
           
CONFIG_FILE
           
CRITERIAS
           
FULL_SCREEN
           
LOCALE
           
PASSWORD
           
QUERIES
           
REMOTE_ENDPOINT
           
ROOT_CRITERIAS
           
ROOT_THESAURUS
           
STATUS_COLOR
           
SWING_CONFIG_FILE
           
THESAURUS
           
THESAURUS_COLORS
           
THESAURUS_EXPANDED
           
USERNAME
           
VRADI_DATABASE_VERSION
           
VRADI_LAST_VERSION
           
VRADI_SWING_DEBUG
           
VRADI_VERSION
           
XML_STREAMS
           
 
Field Summary
 String defaultValue
           
 String description
           
 boolean isFinal
           
 boolean isTransient
           
 String key
           
 Class<?> type
           
 
Method Summary
 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 VradiConfig.VradiSwingOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VradiConfig.VradiSwingOption[] 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONFIG_FILE

public static final VradiConfig.VradiSwingOption CONFIG_FILE

VRADI_SWING_DEBUG

public static final VradiConfig.VradiSwingOption VRADI_SWING_DEBUG

SWING_CONFIG_FILE

public static final VradiConfig.VradiSwingOption SWING_CONFIG_FILE

VRADI_VERSION

public static final VradiConfig.VradiSwingOption VRADI_VERSION

VRADI_DATABASE_VERSION

public static final VradiConfig.VradiSwingOption VRADI_DATABASE_VERSION

VRADI_LAST_VERSION

public static final VradiConfig.VradiSwingOption VRADI_LAST_VERSION

FULL_SCREEN

public static final VradiConfig.VradiSwingOption FULL_SCREEN

LOCALE

public static final VradiConfig.VradiSwingOption LOCALE

USERNAME

public static final VradiConfig.VradiSwingOption USERNAME

PASSWORD

public static final VradiConfig.VradiSwingOption PASSWORD

REMOTE_ENDPOINT

public static final VradiConfig.VradiSwingOption REMOTE_ENDPOINT

QUERIES

public static final VradiConfig.VradiSwingOption QUERIES

XML_STREAMS

public static final VradiConfig.VradiSwingOption XML_STREAMS

CRITERIAS

public static final VradiConfig.VradiSwingOption CRITERIAS

ROOT_CRITERIAS

public static final VradiConfig.VradiSwingOption ROOT_CRITERIAS

THESAURUS

public static final VradiConfig.VradiSwingOption THESAURUS

ROOT_THESAURUS

public static final VradiConfig.VradiSwingOption ROOT_THESAURUS

COLUMNS

public static final VradiConfig.VradiSwingOption COLUMNS

THESAURUS_COLORS

public static final VradiConfig.VradiSwingOption THESAURUS_COLORS

STATUS_COLOR

public static final VradiConfig.VradiSwingOption STATUS_COLOR

THESAURUS_EXPANDED

public static final VradiConfig.VradiSwingOption THESAURUS_EXPANDED
Field Detail

key

public String key

description

public String description

defaultValue

public String defaultValue

type

public Class<?> type

isTransient

public boolean isTransient

isFinal

public boolean isFinal
Method Detail

values

public static VradiConfig.VradiSwingOption[] 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 (VradiConfig.VradiSwingOption c : VradiConfig.VradiSwingOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VradiConfig.VradiSwingOption 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

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

setDefaultValue

public void setDefaultValue(String defaultValue)
Specified by:
setDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef

setTransient

public void setTransient(boolean isTransient)
Specified by:
setTransient in interface org.nuiton.util.ApplicationConfig.OptionDef

setFinal

public void setFinal(boolean isFinal)
Specified by:
setFinal in interface org.nuiton.util.ApplicationConfig.OptionDef


Copyright © 2009-2011 CodeLutin. All Rights Reserved.