Class AbstractVRGUIAWT

java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
All Implemented Interfaces:
VROverlayAWT
Direct Known Subclasses:
CalibrationGUIAWT, HorizonGUIAWT, IMUMethodGUI, LandMarkGUIAWT, ShoreMethodGUIAWT

public abstract class AbstractVRGUIAWT extends Object implements VROverlayAWT
  • Field Details

  • Constructor Details

  • Method Details

    • setInstruction

      public void setInstruction(JLabel instruction)
      Set an instruction. This is handfles by a the higher level GUI in the side pane.
      Parameters:
      instruction - - the instruction to set.
    • createCalibrationList

      public PamPanel createCalibrationList()
      Creates a panel containing the calibration combo box and labels.
      Returns:
    • createMapFilePanel

      public PamPanel createMapFilePanel()
      Creates a panel allowing the user to select a map and view map file.
      Returns:
    • setMapText

      protected void setMapText()
    • createLocationListPanel

      public PamPanel createLocationListPanel()
      Create a panel to show GPS location and allow user to change GPS location method.
    • newCalibration

      protected void newCalibration()
      Add calibration data to the calibration combo box;
    • selectCalibration

      public void selectCalibration(VRCalibrationData vrCalibrationData)
    • enableControls

      public void enableControls()
    • setGPSText

      public void setGPSText(LatLong gpsInfo, JTextField gps)
      Set GPS text.
      Parameters:
      gpsInfo -
      gps -
    • addAnimals

      protected void addAnimals(Graphics g)
      Draw current animals on the image
      Parameters:
      g - - the graphics handle.
    • drawAnimal

      protected void drawAnimal(Graphics g, VRMeasurement vr, PamSymbol symbol)
      Draw an animal on the image
      Parameters:
      g - - the graphics handle
      vr - - the vr measurement
      symbol - - the symbol
    • drawMarksandLine

      protected void drawMarksandLine(Graphics g, Point p1, Point p2, PamSymbol symbol, boolean drawLine, Point currentMouse)
      Draw some marks and lines
      Parameters:
      g - - the graphics handle
      p1 - - the first point
      p2 - - the second point
      symbol - - the current symbol
      drawLine - - draw a line
      currentMouse - - the current mouse position
    • update

      public void update(int updateType)
      Recieves an update flag
      Specified by:
      update in interface VROverlayAWT
      Parameters:
      updateType - - the update flag.