org.chorem.vradi
Enum VradiConfig.VradiSwingAction

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

public static enum VradiConfig.VradiSwingAction
extends Enum<VradiConfig.VradiSwingAction>
implements org.nuiton.util.ApplicationConfig.ActionDef


Enum Constant Summary
CONFIGURE_UI
           
HELP
           
HELP_UI
           
NO_MAIN_UI
           
 
Field Summary
 String action
           
 String[] aliases
           
 String description
           
 
Method Summary
 String getAction()
           
 String[] getAliases()
           
static VradiConfig.VradiSwingAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VradiConfig.VradiSwingAction[] 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

HELP

public static final VradiConfig.VradiSwingAction HELP

HELP_UI

public static final VradiConfig.VradiSwingAction HELP_UI

NO_MAIN_UI

public static final VradiConfig.VradiSwingAction NO_MAIN_UI

CONFIGURE_UI

public static final VradiConfig.VradiSwingAction CONFIGURE_UI
Field Detail

description

public String description

action

public String action

aliases

public String[] aliases
Method Detail

values

public static VradiConfig.VradiSwingAction[] 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.VradiSwingAction c : VradiConfig.VradiSwingAction.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.VradiSwingAction 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

getAction

public String getAction()
Specified by:
getAction in interface org.nuiton.util.ApplicationConfig.ActionDef

getAliases

public String[] getAliases()
Specified by:
getAliases in interface org.nuiton.util.ApplicationConfig.ActionDef


Copyright © 2009-2011 CodeLutin. All Rights Reserved.