public static enum ReadOption.CentralReading extends java.lang.Enum<ReadOption.CentralReading>
Enum Constant and Description |
---|
DISABLE
通常の範囲で読み取る Read in the normal range |
LARGE_AREA
中央読み(広い範囲) Central reading (wide range) |
REGULAR_AREA
中央読み(標準範囲) Central reading (standard range) |
SMALL_AREA
中央読み(狭い範囲) Central reading (narrow range) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static ReadOption.CentralReading |
valueOf(int id) |
static ReadOption.CentralReading |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadOption.CentralReading[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOption.CentralReading DISABLE
public static final ReadOption.CentralReading SMALL_AREA
public static final ReadOption.CentralReading REGULAR_AREA
public static final ReadOption.CentralReading LARGE_AREA
public static ReadOption.CentralReading[] values()
for (ReadOption.CentralReading c : ReadOption.CentralReading.values()) System.out.println(c);
public static ReadOption.CentralReading valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()
public static ReadOption.CentralReading valueOf(int id)