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 Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • setInstruction Link icon

      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 Link icon

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

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

      protected void setMapText()
    • createLocationListPanel Link icon

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

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

      public void selectCalibration(VRCalibrationData vrCalibrationData)
    • enableControls Link icon

      public void enableControls()
    • setGPSText Link icon

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

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

      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 Link icon

      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 Link icon

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