Class JabaWizard

All Implemented Interfaces:
JabaController, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class JabaWizard extends Wizard implements JabaController
This is the object you use to define your system structure and parameters
Version:
Date: 11-set-2003 Time: 14.47.11 Adapted by Andrea Zanzottera Heavily bugfixed by Bertoli Marco
Author:
alyf (Andrea Conti)
See Also:
  • Constructor Details

    • JabaWizard

      public JabaWizard()
    • JabaWizard

      public JabaWizard(JabaModel data)
  • Method Details

    • makeToolbar

      protected JMTToolBar makeToolbar()
      Returns:
      the toolbar for the jaba wizard. Shamelessly uses icon from the main jmt frame
    • makeButtons

      protected JComponent makeButtons()
      Overrides:
      makeButtons in class Wizard
      Returns:
      the button panel
    • checkForSave

      public boolean checkForSave(String msg)
      Shows a confirmation dialog to save before new model or exit operations
      Parameters:
      msg - The message to display.
      Returns:
      true - if the user select cancel button.
    • getData

      public JabaModel getData()
      Specified by:
      getData in interface JabaController
    • finish

      protected void finish()
      Description copied from class: Wizard
      Called when the "Finish" button is pressed. Must be overridden in subclasses!
      Overrides:
      finish in class Wizard
    • cancel

      protected boolean cancel()
      Description copied from class: Wizard
      Called when the "Cancel" button is pressed. Should be overridden in subclasses
      Overrides:
      cancel in class Wizard
      Returns:
      true if window can be closed, false otherwise.
    • switchToSimulator

      protected void switchToSimulator()
    • getHelp

      public HoverHelp getHelp()
      Specified by:
      getHelp in interface JabaController
    • switchFromSTVtoSD

      public void switchFromSTVtoSD()
      switches service times and visits panels to service demands panel in order to change data representation.
      Specified by:
      switchFromSTVtoSD in interface JabaController
    • switchFromSDtoSTV

      public void switchFromSDtoSTV()
      switches service times and visits panels to service demands panel in order to change data representation.
      Specified by:
      switchFromSDtoSTV in interface JabaController
    • solve

      public void solve()
      Specified by:
      solve in interface JabaController
    • updateActions

      protected void updateActions()
      Description copied from class: Wizard
      enables/disables buttons according to current status
      Overrides:
      updateActions in class Wizard
    • main

      public static void main(String[] args)