public class FormPriceChanges extends java.lang.Object implements IForm, java.awt.event.ActionListener, java.beans.PropertyChangeListener
Constructor and Description |
---|
FormPriceChanges(Config conf,
FormBasePrices basePrices)
Constructor of form.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Method to open/show graphical representation of price change effects.
|
void |
activate(PanelForm formPanel)
Method to activate the panel.
|
FormBasePrices |
getBasePrices() |
javax.swing.JFormattedTextField |
getFieldCrops() |
javax.swing.JFormattedTextField |
getForestWood() |
javax.swing.JFormattedTextField |
getLandscapeWood() |
javax.swing.JFormattedTextField |
getSrc() |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Method to update form and graph.
|
void |
setBasePrices(FormBasePrices basePrices) |
void |
setFieldCrops(javax.swing.JFormattedTextField fieldCrops) |
void |
setForestWood(javax.swing.JFormattedTextField forestWood) |
void |
setLandscapeWood(javax.swing.JFormattedTextField landscapeWood) |
void |
setSrc(javax.swing.JFormattedTextField src) |
public FormPriceChanges(Config conf, FormBasePrices basePrices) throws java.net.MalformedURLException
conf
- ConfigurationbasePrices
- Base pricesjava.net.MalformedURLException
public void activate(PanelForm formPanel)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
public javax.swing.JFormattedTextField getFieldCrops()
public void setFieldCrops(javax.swing.JFormattedTextField fieldCrops)
public javax.swing.JFormattedTextField getSrc()
public void setSrc(javax.swing.JFormattedTextField src)
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 FormBasePrices getBasePrices()
public void setBasePrices(FormBasePrices basePrices)