public static enum TreeStatusProvider.StatusClass extends java.lang.Enum<TreeStatusProvider.StatusClass> implements REpiceaTranslator.TextableEnum
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 TreeStatusProvider.StatusClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeStatusProvider.StatusClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeStatusProvider.StatusClass alive
public static final TreeStatusProvider.StatusClass cut
public static final TreeStatusProvider.StatusClass dead
public static final TreeStatusProvider.StatusClass windfall
public static TreeStatusProvider.StatusClass[] values()
for (TreeStatusProvider.StatusClass c : TreeStatusProvider.StatusClass.values()) System.out.println(c);
public static TreeStatusProvider.StatusClass 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<TreeStatusProvider.StatusClass>