public static enum CATCompartment.CompartmentInfo extends java.lang.Enum<CATCompartment.CompartmentInfo> implements REpiceaTranslator.TextableEnum
Enum Constant and Description |
---|
AbGround
The aboveground biomass (bole, branches and twigs).
|
CarbEmis
The carbon emissions due to fossil fuel consumption.
|
DeadBiom
The dead biomass, i.e.
|
EnerSubs
The energy substitution.
|
LfillDeg
The landfill degradable carbon pool.
|
LfillEm
The Landfill GHG emissions (CH4)
|
LfillND
The landfill non degradable carbon pool.
|
LivingBiomass
The living biomass, i.e.
|
NetSubs
The net substitution, i.e.
|
Products
The wood products.
|
Roots
The compartment that contains the root biomass.
|
TotalProducts
The sum of the living biomass and the wood products.
|
WComb
Emissions due to wood combustion
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
This method returns the color of the compartment for rendering.
|
static java.util.List<CATCompartment.CompartmentInfo> |
getNaturalOrder()
This method returns the natural order of this enum variable.
|
protected boolean |
isPrimaryCompartment() |
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 CATCompartment.CompartmentInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CATCompartment.CompartmentInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CATCompartment.CompartmentInfo Roots
public static final CATCompartment.CompartmentInfo AbGround
public static final CATCompartment.CompartmentInfo DeadBiom
public static final CATCompartment.CompartmentInfo Products
public static final CATCompartment.CompartmentInfo LfillDeg
public static final CATCompartment.CompartmentInfo CarbEmis
public static final CATCompartment.CompartmentInfo EnerSubs
public static final CATCompartment.CompartmentInfo LfillND
public static final CATCompartment.CompartmentInfo LfillEm
public static final CATCompartment.CompartmentInfo WComb
public static final CATCompartment.CompartmentInfo LivingBiomass
public static final CATCompartment.CompartmentInfo TotalProducts
public static final CATCompartment.CompartmentInfo NetSubs
public static CATCompartment.CompartmentInfo[] values()
for (CATCompartment.CompartmentInfo c : CATCompartment.CompartmentInfo.values()) System.out.println(c);
public static CATCompartment.CompartmentInfo 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 nullprotected boolean isPrimaryCompartment()
public 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<CATCompartment.CompartmentInfo>
public static java.util.List<CATCompartment.CompartmentInfo> getNaturalOrder()
public java.awt.Color getColor()