public class FormCostChanges extends java.lang.Object implements IForm, java.awt.event.ActionListener, java.beans.PropertyChangeListener
| Constructor and Description |
|---|
FormCostChanges(Config conf,
FormBaseCosts baseCosts)
Constructor of form.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Method to open/show graphical representation of cost change effects.
|
void |
activate(PanelForm formPanel)
Method to activate the panel.
|
FormBaseCosts |
getBaseCosts() |
javax.swing.JFormattedTextField |
getFieldCrops() |
javax.swing.JFormattedTextField |
getForestWood() |
javax.swing.JFormattedTextField |
getLabourFieldCrops() |
javax.swing.JFormattedTextField |
getLabourSrc() |
javax.swing.JFormattedTextField |
getLandscapeWood() |
javax.swing.JFormattedTextField |
getSrc() |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Method to update form and graph.
|
void |
setBaseCosts(FormBaseCosts baseCosts) |
void |
setFieldCrops(javax.swing.JFormattedTextField fieldCrops) |
void |
setForestWood(javax.swing.JFormattedTextField forestWood) |
void |
setLabourFieldCrops(javax.swing.JFormattedTextField labourFieldCrops) |
void |
setLabourSrc(javax.swing.JFormattedTextField labourSrc) |
void |
setLandscapeWood(javax.swing.JFormattedTextField landscapeWood) |
void |
setSrc(javax.swing.JFormattedTextField src) |
public FormCostChanges(Config conf, FormBaseCosts baseCosts) throws java.net.MalformedURLException
conf - ConfigurationbaseCosts - Base costsjava.net.MalformedURLExceptionpublic void activate(PanelForm formPanel)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpublic javax.swing.JFormattedTextField getFieldCrops()
public void setFieldCrops(javax.swing.JFormattedTextField fieldCrops)
public javax.swing.JFormattedTextField getLabourFieldCrops()
public void setLabourFieldCrops(javax.swing.JFormattedTextField labourFieldCrops)
public javax.swing.JFormattedTextField getSrc()
public void setSrc(javax.swing.JFormattedTextField src)
public javax.swing.JFormattedTextField getLabourSrc()
public void setLabourSrc(javax.swing.JFormattedTextField labourSrc)
public javax.swing.JFormattedTextField getForestWood()
public void setForestWood(javax.swing.JFormattedTextField forestWood)
public javax.swing.JFormattedTextField getLandscapeWood()
public void setLandscapeWood(javax.swing.JFormattedTextField landscapeWood)
public FormBaseCosts getBaseCosts()
public void setBaseCosts(FormBaseCosts baseCosts)