public class CarbonUnitFeature extends java.lang.Object implements java.io.Serializable, REpiceaUIObject, NumberFormatFieldFactory.NumberFieldListener, java.awt.event.ItemListener
Modifier and Type | Class and Description |
---|---|
protected static class |
CarbonUnitFeature.LifetimeMode |
Modifier and Type | Field and Description |
---|---|
protected double |
averageLifetime
IMPORTANT: This field can be either the average lifetime or the half-life.
|
Modifier | Constructor and Description |
---|---|
protected |
CarbonUnitFeature(AbstractProductionLineProcessor processor) |
Modifier and Type | Method and Description |
---|---|
protected double |
getAverageLifetime(MonteCarloSimulationCompliantObject subject) |
protected CarbonUnitFeature.LifetimeMode |
getLifetimeMode() |
protected AbstractProductionLineProcessor |
getProcessor() |
CarbonUnitFeaturePanel |
getUI()
This method returns the GUI interface of the class that implements this interface.
|
protected CarbonUnitFeaturePanel |
getUserInterfacePanel() |
boolean |
isVisible()
This method returns true if the GUI is visible.
|
void |
itemStateChanged(java.awt.event.ItemEvent evt) |
void |
numberChanged(NumberFormatFieldFactory.NumberFieldDocument.NumberFieldEvent e)
This method deals with the event fired by the JFormattedNumericField instance.
|
protected void |
setAverageLifetime(double d) |
protected void |
setProcessor(AbstractProductionLineProcessor processor) |
protected void |
setUserInterfacePanel(CarbonUnitFeaturePanel panel) |
java.lang.String |
toString() |
protected double averageLifetime
protected CarbonUnitFeature(AbstractProductionLineProcessor processor)
protected CarbonUnitFeature.LifetimeMode getLifetimeMode()
protected double getAverageLifetime(MonteCarloSimulationCompliantObject subject)
protected void setAverageLifetime(double d)
protected CarbonUnitFeaturePanel getUserInterfacePanel()
protected void setUserInterfacePanel(CarbonUnitFeaturePanel panel)
protected AbstractProductionLineProcessor getProcessor()
protected void setProcessor(AbstractProductionLineProcessor processor)
public CarbonUnitFeaturePanel getUI()
REpiceaUIObject
getUI
in interface REpiceaUIObject
public boolean isVisible()
REpiceaUIObject
isVisible
in interface REpiceaUIObject
public void numberChanged(NumberFormatFieldFactory.NumberFieldDocument.NumberFieldEvent e)
NumberFormatFieldFactory.NumberFieldListener
numberChanged
in interface NumberFormatFieldFactory.NumberFieldListener
e
- a NumberFieldEvent instancepublic java.lang.String toString()
toString
in class java.lang.Object
public void itemStateChanged(java.awt.event.ItemEvent evt)
itemStateChanged
in interface java.awt.event.ItemListener