public class LandfillCarbonUnitFeature extends CarbonUnitFeature implements javax.swing.event.ChangeListener, java.awt.event.ItemListener
Modifier and Type | Class and Description |
---|---|
static class |
LandfillCarbonUnitFeature.LandfillType |
CarbonUnitFeature.LifetimeMode
averageLifetime
Modifier | Constructor and Description |
---|---|
protected |
LandfillCarbonUnitFeature(AbstractProductionLineProcessor processor)
The empty constructor is handled by the interface.
|
Modifier and Type | Method and Description |
---|---|
protected double |
getDegradableOrganicCarbonFraction() |
LandfillCarbonUnitFeature.LandfillType |
getLandfillType()
This method returns the type of landfill according to the IPCC (2006, Waste, p.3.14)
|
LandfillCarbonUnitFeaturePanel |
getUI()
This method returns the GUI interface of the class that implements this interface.
|
protected LandfillCarbonUnitFeaturePanel |
getUserInterfacePanel() |
void |
itemStateChanged(java.awt.event.ItemEvent e) |
protected void |
setDegradableOrganicCarbonFraction(double degradableOrganicCarbonFraction) |
void |
stateChanged(javax.swing.event.ChangeEvent evt) |
getAverageLifetime, getLifetimeMode, getProcessor, isVisible, numberChanged, setAverageLifetime, setProcessor, setUserInterfacePanel, toString
protected LandfillCarbonUnitFeature(AbstractProductionLineProcessor processor)
public LandfillCarbonUnitFeaturePanel getUI()
REpiceaUIObject
getUI
in interface REpiceaUIObject
getUI
in class CarbonUnitFeature
protected LandfillCarbonUnitFeaturePanel getUserInterfacePanel()
getUserInterfacePanel
in class CarbonUnitFeature
protected double getDegradableOrganicCarbonFraction()
protected void setDegradableOrganicCarbonFraction(double degradableOrganicCarbonFraction)
public void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged
in interface javax.swing.event.ChangeListener
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
itemStateChanged
in class CarbonUnitFeature
public LandfillCarbonUnitFeature.LandfillType getLandfillType()