Package lejos.remote.ev3
Enum MenuRequest.Request
- java.lang.Object
-
- java.lang.Enum<MenuRequest.Request>
-
- lejos.remote.ev3.MenuRequest.Request
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MenuRequest.Request>
- Enclosing class:
- MenuRequest
public static enum MenuRequest.Request extends java.lang.Enum<MenuRequest.Request>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MenuRequest.RequestvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MenuRequest.Request[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUN_PROGRAM
public static final MenuRequest.Request RUN_PROGRAM
-
RUN_SAMPLE
public static final MenuRequest.Request RUN_SAMPLE
-
DEBUG_PROGRAM
public static final MenuRequest.Request DEBUG_PROGRAM
-
DELETE_FILE
public static final MenuRequest.Request DELETE_FILE
-
GET_FILE_SIZE
public static final MenuRequest.Request GET_FILE_SIZE
-
GET_PROGRAM_NAMES
public static final MenuRequest.Request GET_PROGRAM_NAMES
-
GET_SAMPLE_NAMES
public static final MenuRequest.Request GET_SAMPLE_NAMES
-
UPLOAD_FILE
public static final MenuRequest.Request UPLOAD_FILE
-
FETCH_FILE
public static final MenuRequest.Request FETCH_FILE
-
GET_SETTING
public static final MenuRequest.Request GET_SETTING
-
SET_SETTING
public static final MenuRequest.Request SET_SETTING
-
DELETE_ALL_PROGRAMS
public static final MenuRequest.Request DELETE_ALL_PROGRAMS
-
GET_VERSION
public static final MenuRequest.Request GET_VERSION
-
GET_MENU_VERSION
public static final MenuRequest.Request GET_MENU_VERSION
-
GET_NAME
public static final MenuRequest.Request GET_NAME
-
SET_NAME
public static final MenuRequest.Request SET_NAME
-
STOP_PROGRAM
public static final MenuRequest.Request STOP_PROGRAM
-
GET_EXECUTING_PROGRAM_NAME
public static final MenuRequest.Request GET_EXECUTING_PROGRAM_NAME
-
SHUT_DOWN
public static final MenuRequest.Request SHUT_DOWN
-
SUSPEND
public static final MenuRequest.Request SUSPEND
-
RESUME
public static final MenuRequest.Request RESUME
-
-
Method Detail
-
values
public static MenuRequest.Request[] 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 (MenuRequest.Request c : MenuRequest.Request.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MenuRequest.Request 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 namejava.lang.NullPointerException- if the argument is null
-
-