Class WhatIfPanel

All Implemented Interfaces:
ExactConstants, ImageObserver, MenuContainer, Serializable, Accessible, ForceUpdatablePanel

public class WhatIfPanel extends WizardPanel implements ExactConstants, ForceUpdatablePanel

Title: What-If Analysis Panel

Description: This panel is used to show and parametrize what if analysis for JMVA. This is really complex as I have to cope with horrible JMVA data structure and many controls must be performed to correctly parametrize analysis.

Author:
Bertoli Marco Date: 26-mag-2006 Time: 13.48.45
See Also:
  • Field Details

  • Constructor Details

    • WhatIfPanel

      public WhatIfPanel(JMVAController ex)
      Creates a new What-If Panel, given parent ExactWizard
      Parameters:
      ex -
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class WizardPanel
      Returns:
      the panel's name
    • help

      public void help()
      called by the Wizard when the user presses the help button
      Overrides:
      help in class WizardPanel
    • gotFocus

      public void gotFocus()
      called by the Wizard when the panel becomes active
      Overrides:
      gotFocus in class WizardPanel
    • lostFocus

      public void lostFocus()
      called by the Wizard before when switching to another panel
      Overrides:
      lostFocus in class WizardPanel
    • retrieveData

      public void retrieveData()
      This method force a stream of data from application to GUI panel. This grants application user to be working on perfectly updated data as far as retrieveData() was called.
      Specified by:
      retrieveData in interface ForceUpdatablePanel
    • commitData

      public void commitData()
      This method force a stream of data from GUI panel to application. This must grant other GUI panels to be working on the most recently updated version of the data this GUI panel was working on, so that when other implementing classes call retrieveData() they will have coherent data with this class.
      Specified by:
      commitData in interface ForceUpdatablePanel