Class ReferenceStationPanel

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

public final class ReferenceStationPanel extends WizardPanel implements ForceUpdatablePanel, ExactConstants
Author:
Kourosh Sheykhvand Date: 03-OCT-2013 panel: Reference Station This panel has requested to be added in order to make the possibility for each user to choose a reference station for a class in closed model. when the class is open the no "Reference station" is chosen. the data of the the stations are saved in the XML file. here the variable which shows the data for the reference station is ReferenceStation has n rows which refers to the the all the classes.
See Also:
  • Constructor Details

    • ReferenceStationPanel

      public ReferenceStationPanel(JMVAController ew)
  • Method Details

    • infoBox

      public static void infoBox(String infoMessage, String location)
    • sync

      public void sync()
    • getName

      public String getName()
      Specified by:
      getName in class WizardPanel
      Returns:
      the panel's name
    • 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
    • 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