treebolic.browser
Enum MainFrame.Code

java.lang.Object
  extended by java.lang.Enum<MainFrame.Code>
      extended by treebolic.browser.MainFrame.Code
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MainFrame.Code>
Enclosing class:
MainFrame

private static enum MainFrame.Code
extends java.lang.Enum<MainFrame.Code>

Command codes


Enum Constant Summary
ABOUT
           
HELP
           
OPEN
           
OPENPROVIDER
           
OPENURL
           
SETTINGS
           
 
Method Summary
static MainFrame.Code valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MainFrame.Code[] 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

OPEN

public static final MainFrame.Code OPEN

OPENURL

public static final MainFrame.Code OPENURL

OPENPROVIDER

public static final MainFrame.Code OPENPROVIDER

SETTINGS

public static final MainFrame.Code SETTINGS

ABOUT

public static final MainFrame.Code ABOUT

HELP

public static final MainFrame.Code HELP
Method Detail

values

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

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

valueOf

public static MainFrame.Code 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