Class JMCHWizardPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
AnimationPanel, MainPanel, MMQueuesPanel, ResultsPanel

public abstract class JMCHWizardPanel extends WizardPanel
Abstract class to group all the new methods used in the panels of the wizard
Author:
Lorenzo Torri Date: 29-mar-2024 Time: 15.43
See Also:
  • Field Details

  • Constructor Details

    • JMCHWizardPanel

      public JMCHWizardPanel()
  • Method Details

    • startAnimation

      public void startAnimation()
      Starts the animation
    • pauseAnimation

      public void pauseAnimation()
      Pauses the animation
    • reloadAnimation

      public void reloadAnimation()
      Reloads the animation
    • nextStepAnimation

      public void nextStepAnimation()
      Updates the animation to the next step
    • increaseVelocity

      public void increaseVelocity()
      Double the animation's velocity
    • decreaseVelocity

      public void decreaseVelocity()
      Halve the animation's velocity
    • exit

      public void exit()
      Go back to the main menu
    • about

      public void about()
      Open the about page
    • stopAnimation

      public void stopAnimation()
      Stops the simulation, used in Markov Chain, but also in the Simulation Models in reverse mode (it's the simulation that decides when the animation has to be stopped and all the UI changes must be done)
    • setLastPanel

      public void setLastPanel()
    • getName

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