public enum ComponentMode extends Enum<ComponentMode>
Enum Constant and Description |
---|
INDEPENDENT |
RESERVED |
SEPARATE |
UNIFORM |
Modifier and Type | Field and Description |
---|---|
private int |
id |
Modifier and Type | Method and Description |
---|---|
static ComponentMode |
findById(int id) |
int |
getId() |
static ComponentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentMode UNIFORM
public static final ComponentMode SEPARATE
public static final ComponentMode INDEPENDENT
public static final ComponentMode RESERVED
public static ComponentMode[] values()
for (ComponentMode c : ComponentMode.values()) System.out.println(c);
public static ComponentMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public static ComponentMode findById(int id)
Copyright © 2015 Open Microscopy Environment