js.dev.cam.sbig
Enum MF_ERROR
java.lang.Object
java.lang.Enum<MF_ERROR>
js.dev.cam.sbig.MF_ERROR
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MF_ERROR>
public enum MF_ERROR
- extends java.lang.Enum<MF_ERROR>
Method Summary |
int |
getMfError()
|
static MF_ERROR |
getMfError(int value)
|
static MF_ERROR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MF_ERROR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MFE_NONE
public static final MF_ERROR MFE_NONE
MFE_BUSY
public static final MF_ERROR MFE_BUSY
MFE_BAD_COMMAND
public static final MF_ERROR MFE_BAD_COMMAND
MFE_CAL_ERROR
public static final MF_ERROR MFE_CAL_ERROR
MFE_MOTOR_TIMEOUT
public static final MF_ERROR MFE_MOTOR_TIMEOUT
MFE_BAD_MODEL
public static final MF_ERROR MFE_BAD_MODEL
MFE_I2C_ERROR
public static final MF_ERROR MFE_I2C_ERROR
MFE_NOT_FOUND
public static final MF_ERROR MFE_NOT_FOUND
values
public static MF_ERROR[] 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 (MF_ERROR c : MF_ERROR.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MF_ERROR 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
getMfError
public int getMfError()
- Returns:
- the mfError.
getMfError
public static final MF_ERROR getMfError(int value)
- Returns:
- the mfError.