Class SimulationPanel

All Implemented Interfaces:
CommonConstants, ImageObserver, MenuContainer, Serializable, Accessible, EngineNodeConstants

public class SimulationPanel extends WizardPanel implements CommonConstants

Title: Simulation & Preloading Panel

Description: A panel in which simulation parameters and queue preloading can be specified

Author:
Bertoli Marco Date: 16-set-2005 Time: 14.01.02 Modified by Francesco D'Aquino 11/11/2005
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • setData

      public void setData(ClassDefinition cd, StationDefinition sd, SimulationDefinition simd)
      Initialize internal data structures
      Parameters:
      cd - a ClassDefinition data structure
      sd - a StationDefinition data structure
      simd - a SimulationDefinition data structure
    • refreshDataStructures

      protected void refreshDataStructures()
      Refresh internal data structures. This method is separate from setData as have to be called in JSIM at every gotFocus event (or internal data structures will not be up-to-date)
    • 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
    • InitGUI

      protected void InitGUI(GuiInterface gui)
      Initialize all GUI related stuff Modified by Francesco D'Aquino. The old version was InitGUI(). The gui parameter is used to insert or not the JCheckBox used to enable queue animation.
    • InitActions

      protected void InitActions()
      Inits all action listeners related to GUI object
    • getName

      public String getName()
      Specified by:
      getName in class WizardPanel
      Returns:
      name to be displayed on the tab, when inserted in a wizard tabbed pane