Class HorizonGUIAWT

java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
videoRangePanel.vrmethods.horizonMethod.HorizonGUIAWT
All Implemented Interfaces:
VROverlayAWT

public class HorizonGUIAWT extends AbstractVRGUIAWT
  • Constructor Details

  • Method Details

    • getSidePanel

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

      public PamPanel getRibbonPanel()
      Description copied from interface: VROverlayAWT
      Some methods may require a panel above the picture for manual input or to view current information. getRibbonPanel() returns the pane unique to this method which may go above the picture. May return null if no panel is needed.
      Returns:
    • setInstruction

      public void setInstruction(int status)
      Sets the text telling the user what to do.
      Parameters:
      status - - the current status
    • update

      public void update(int updateType)
      Description copied from class: AbstractVRGUIAWT
      Recieves an update flag
      Specified by:
      update in interface VROverlayAWT
      Overrides:
      update in class AbstractVRGUIAWT
      Parameters:
      updateType - - the update flag.
    • clearOverlay

      public void clearOverlay()
      Called whenever the overlay marks are cleared.
    • 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)
      Description copied from interface: VROverlayAWT
      Paint the marks on the image. This is used for both Swing and JavaFX GUI's
      Parameters:
      g - - the graphics handle
    • getCurrentMouse

      public Point getCurrentMouse()
      Get the current mouse points
      Returns:
      - the current mouse point.
    • 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.