public static enum CropTemplate.Type extends java.lang.Enum<CropTemplate.Type>
Enum Constant and Description |
---|
TYPE_FOCUS_AREA
The type of a focus area crop template.
|
TYPE_MANUAL
The type of a manual crop template.
|
Modifier and Type | Method and Description |
---|---|
static CropTemplate.Type |
find(int id)
Return a crop template type enum value by ID.
|
int |
getID() |
static CropTemplate.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CropTemplate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CropTemplate.Type TYPE_MANUAL
public static final CropTemplate.Type TYPE_FOCUS_AREA
public static CropTemplate.Type[] values()
for (CropTemplate.Type c : CropTemplate.Type.values()) System.out.println(c);
public static CropTemplate.Type 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 CropTemplate.Type find(int id)
id
- The internal ID of the type valuewww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.