edu.princeton.wordnet.browser
Enum Controller.Code
java.lang.Object
java.lang.Enum<Controller.Code>
edu.princeton.wordnet.browser.Controller.Code
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Controller.Code>
- Enclosing class:
- Controller
static enum Controller.Code
- extends java.lang.Enum<Controller.Code>
Command codes
Method Summary |
static Controller.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Controller.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 |
CONNECT
public static final Controller.Code CONNECT
LOOKUP
public static final Controller.Code LOOKUP
LOOKUPXML
public static final Controller.Code LOOKUPXML
LOOKUPPOS
public static final Controller.Code LOOKUPPOS
LOOKUPLEXDOMAIN
public static final Controller.Code LOOKUPLEXDOMAIN
LOOKUPLINK
public static final Controller.Code LOOKUPLINK
EXPAND
public static final Controller.Code EXPAND
COLLAPSE
public static final Controller.Code COLLAPSE
IMPORT
public static final Controller.Code IMPORT
LOOKUPXMLRAW
public static final Controller.Code LOOKUPXMLRAW
EXPORT
public static final Controller.Code EXPORT
EXPORTXSL
public static final Controller.Code EXPORTXSL
SETTINGS
public static final Controller.Code SETTINGS
DBSETTINGS
public static final Controller.Code DBSETTINGS
LINKSETTINGS
public static final Controller.Code LINKSETTINGS
STYLESETTINGS
public static final Controller.Code STYLESETTINGS
INTERNALHELP
public static final Controller.Code INTERNALHELP
HELP
public static final Controller.Code HELP
CONSOLE
public static final Controller.Code CONSOLE
ABOUT
public static final Controller.Code ABOUT
QUIT
public static final Controller.Code QUIT
values
public static Controller.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 (Controller.Code c : Controller.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 Controller.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