Class LandMarkGUIAWT

java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
videoRangePanel.vrmethods.landMarkMethod.LandMarkGUIAWT
All Implemented Interfaces:
VROverlayAWT

public class LandMarkGUIAWT extends AbstractVRGUIAWT
Contains GUI components for the landmark method.
Author:
Jamie Macaulay
  • Field Details

    • dashedtmplate

      public static final BasicStroke dashedtmplate
    • solid

      public static final BasicStroke solid
    • landMarkCol

      public static final Color landMarkCol
    • animalCol

      public static final Color animalCol
    • landMarkMarker

      public static PamSymbol landMarkMarker
    • animalMarker

      public static PamSymbol animalMarker
    • candAnimalMarker

      public static PamSymbol candAnimalMarker
    • landMarksSymbol

      public static VRSymbolManager landMarksSymbol
    • animalMark

      public static VRSymbolManager animalMark
  • Constructor Details

  • Method Details

    • createSidePanel

      public PamPanel createSidePanel()
    • setLandMarks

      public void setLandMarks()
      Create a landmark list for the landmark combo box on side panel;
    • setInstruction

      public void setInstruction(int currentStatus)
    • clearOverlay

      public void clearOverlay()
      Clear the overlay.
    • setImageLabels

      public void setImageLabels(VRMeasurement imageMeasurement)
    • setAnimalLabels

      public void setAnimalLabels(VRMeasurement imageMeasurement)
    • mouseAction

      public void mouseAction(MouseEvent e, boolean motion)
      Description copied from interface: VROverlayAWT
      What to do when there is a mouse event.
      Parameters:
      e - - the mouse event.
      motion - - true if the mouse event is just a motion. ie. movement of mouse on screen but no clicking.
    • getSidePane

      public PamPanel getSidePane()
      Get the side panel.
      Returns:
      the side panel
    • getRibbonPanel

      public PamPanel getRibbonPanel()
      Get the ribbon panel.
      Returns:
      the ribbon panel.
    • update

      public void update(int updateType)
      Update the GUI.
      Specified by:
      update in interface VROverlayAWT
      Overrides:
      update in class AbstractVRGUIAWT
      Parameters:
      updateType - - the update flag.
    • getSidePanel

      public PamPanel getSidePanel()
      Description copied from interface: VROverlayAWT
      Different video range methods will have different controls in the side panel. This returns the Swing side panel unique to the method. May return null if no panel is needed.
      Returns:
    • getSettingsPanel

      public PamPanel getSettingsPanel()
      Description copied from interface: VROverlayAWT
      Different video range methods will have different settings. This Swing panel provide the vr specific settings in the vr settings dialog panel.
      Returns:
    • paintMarks

      public void paintMarks(Graphics g)
      Overlay Drawing
      Parameters:
      g - - the graphics handle