public class FormYieldChanges extends java.lang.Object implements IForm, java.awt.event.ActionListener, java.beans.PropertyChangeListener
Constructor and Description |
---|
FormYieldChanges(Config conf,
FormBaseYields baseYields)
Constructor of form.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Method to open/show graphical representation of input data.
|
void |
activate(PanelForm formPanel)
Method to activate the panel.
|
FormBaseYields |
getBaseYields()
Method to get base yield form.
|
javax.swing.JFormattedTextField |
getFieldCrops()
Method to get field crop name.
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
Method to update form and graph.
|
void |
setBaseYields(FormBaseYields baseYields)
Method to set base yield form.
|
void |
setFieldCrops(javax.swing.JFormattedTextField fieldCrops)
Method to set field crop.
|
public FormYieldChanges(Config conf, FormBaseYields baseYields) throws java.net.MalformedURLException
conf
- Configurationjava.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)
fieldCrops
- Text field of field croppublic FormBaseYields getBaseYields()
public void setBaseYields(FormBaseYields baseYields)
baseYields
- Form of base yields