Class StationsPanel

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

public final class StationsPanel extends WizardPanel implements ExactConstants, ForceUpdatablePanel
2nd panel: stations number, names, types
See Also:
  • Constructor Details

  • Method Details

    • gotFocus

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

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

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

      public boolean canFinish()
      Overrides:
      canFinish in class WizardPanel
      Returns:
      true if the panel is in a state that allows the wizard to finish
    • canGoBack

      public boolean canGoBack()
      Overrides:
      canGoBack in class WizardPanel
      Returns:
      true if it is ok for the wizard to go back. It is ok for the queried panel to pop up a message box explaining why it cannot go back.
    • canGoForward

      public boolean canGoForward()
      Overrides:
      canGoForward in class WizardPanel
      Returns:
      true if it is ok for the wizard to go forward. It is ok for the queried panel to pop up a message box explaining why it cannot go forward.
    • help

      public void help()
      Description copied from class: WizardPanel
      called by the Wizard when the user presses the help button
      Overrides:
      help in class WizardPanel
    • retrieveData

      public void retrieveData()
      Description copied from interface: ForceUpdatablePanel
      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()
      Description copied from interface: ForceUpdatablePanel
      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