Package com.mouseviator.fsuipc.helpers
Enum LVarHelper.LVarControlRequestCommand
java.lang.Object
java.lang.Enum<LVarHelper.LVarControlRequestCommand>
com.mouseviator.fsuipc.helpers.LVarHelper.LVarControlRequestCommand
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LVarHelper.LVarControlRequestCommand>,java.lang.constant.Constable
- Enclosing class:
- LVarHelper
public static enum LVarHelper.LVarControlRequestCommand extends java.lang.Enum<LVarHelper.LVarControlRequestCommand>
An enumeration representing a command for
LVarHelper.LVarControlRequest.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description CREATEA constant being used byLVarHelper.LVarControlRequestrequest internally for creating string telling FSUIPC to create given Lvar.READA constant being used byLVarHelper.LVarControlRequestrequest internally for creating string telling FSUIPC to read given Lvar.WRITEA constant being used byLVarHelper.LVarControlRequestrequest internally for creating string telling FSUIPC to write to given Lvar. -
Method Summary
Modifier and Type Method Description static LVarHelper.LVarControlRequestCommandget(java.lang.String value)ReturnsLVarHelper.LVarControlRequestCommandby corresponding int value.java.lang.StringgetValue()static LVarHelper.LVarControlRequestCommandvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LVarHelper.LVarControlRequestCommand[]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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
READ
A constant being used byLVarHelper.LVarControlRequestrequest internally for creating string telling FSUIPC to read given Lvar. -
WRITE
A constant being used byLVarHelper.LVarControlRequestrequest internally for creating string telling FSUIPC to write to given Lvar. -
CREATE
A constant being used byLVarHelper.LVarControlRequestrequest internally for creating string telling FSUIPC to create given Lvar.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public java.lang.String getValue()- Returns:
- Integer value of this type.
-
get
public static LVarHelper.LVarControlRequestCommand get(java.lang.String value) throws java.security.InvalidParameterExceptionReturnsLVarHelper.LVarControlRequestCommandby corresponding int value.- Parameters:
value- String value corresponding to one of enumeration constants.- Returns:
LVarHelper.LVarControlRequestCommandby corresponding string value.- Throws:
java.security.InvalidParameterException- if value not corresponding to any enumeration value is passed.
-