Class ShoreMethodGUIAWT

java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
videoRangePanel.vrmethods.shoreMethod.ShoreMethodGUIAWT
All Implemented Interfaces:
VROverlayAWT

public class ShoreMethodGUIAWT extends AbstractVRGUIAWT
GUI Components for the shore method
Author:
Jamie Macaulay
  • Constructor Details Link icon

    • ShoreMethodGUIAWT Link icon

      public ShoreMethodGUIAWT(VRShoreMethod vrShoreMethod)
  • Method Details Link icon

    • mouseAction Link icon

      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.
    • setInstruction Link icon

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

      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.
    • drawMarksandLine Link icon

      protected void drawMarksandLine(Graphics g, Point p1, Point p2, PamSymbol symbol, boolean drawLine, Point currentMouse)
      Description copied from class: AbstractVRGUIAWT
      Draw some marks and lines
      Overrides:
      drawMarksandLine in class AbstractVRGUIAWT
      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
    • paintMarks Link icon

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

      protected Point getCurrentMouse()
      Get the current mouse.
      Returns:
    • getSidePanel Link icon

      public PamPanel getSidePanel()
      Get
      Returns:
    • getImageTilt Link icon

      public Double getImageTilt()
    • getImageHeading Link icon

      public Double getImageHeading()
    • getImageAnglePanbel Link icon

      public PamPanel getImageAnglePanbel()
    • getRibbonPanel Link icon

      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:
    • getSettingsPanel Link icon

      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: