public static enum SpeciesTypeProvider.SpeciesType extends java.lang.Enum<SpeciesTypeProvider.SpeciesType> implements REpiceaTranslator.TextableEnum
Enum Constant and Description |
---|
BroadleavedSpecies |
ConiferousSpecies |
Modifier and Type | Method and Description |
---|---|
void |
setText(java.lang.String englishText,
java.lang.String frenchText)
This method sets the english and french text for the label, control or title.
|
java.lang.String |
toString() |
static SpeciesTypeProvider.SpeciesType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpeciesTypeProvider.SpeciesType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeciesTypeProvider.SpeciesType ConiferousSpecies
public static final SpeciesTypeProvider.SpeciesType BroadleavedSpecies
public static SpeciesTypeProvider.SpeciesType[] values()
for (SpeciesTypeProvider.SpeciesType c : SpeciesTypeProvider.SpeciesType.values()) System.out.println(c);
public static SpeciesTypeProvider.SpeciesType 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 void setText(java.lang.String englishText, java.lang.String frenchText)
REpiceaTranslator.TextableEnum
setText
in interface REpiceaTranslator.TextableEnum
englishText
- a StringfrenchText
- a Stringpublic java.lang.String toString()
toString
in class java.lang.Enum<SpeciesTypeProvider.SpeciesType>