Class ShoreMethodGUIAWT
java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
videoRangePanel.vrmethods.shoreMethod.ShoreMethodGUIAWT
- All Implemented Interfaces:
VROverlayAWT
GUI Components for the shore method
- Author:
- Jamie Macaulay
-
Field Summary
Fields inherited from class videoRangePanel.vrmethods.AbstractVRGUIAWT
imuSettings, mapText, vrControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawMarksandLine
(Graphics g, Point p1, Point p2, PamSymbol symbol, boolean drawLine, Point currentMouse) Draw some marks and linesprotected Point
Get the current mouse.Some methods may require a panel above the picture for manual input or to view current information.Different video range methods will have different settings.Getvoid
mouseAction
(MouseEvent e, boolean motion) What to do when there is a mouse event.void
Paint the marks on the image.void
setInstruction
(int status) Sets the text telling the user what to do.void
update
(int updateType) Recieves an update flagMethods inherited from class videoRangePanel.vrmethods.AbstractVRGUIAWT
addAnimals, createCalibrationList, createLocationListPanel, createMapFilePanel, drawAnimal, enableControls, newCalibration, selectCalibration, setGPSText, setInstruction, setMapText
-
Constructor Details
-
Method Details
-
mouseAction
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
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 interfaceVROverlayAWT
- Overrides:
update
in classAbstractVRGUIAWT
- Parameters:
updateType
- - the update flag.
-
drawMarksandLine
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 classAbstractVRGUIAWT
- Parameters:
g
- - the graphics handlep1
- - the first pointp2
- - the second pointsymbol
- - the current symboldrawLine
- - draw a linecurrentMouse
- - the current mouse position
-
paintMarks
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
Get the current mouse.- Returns:
-
getSidePanel
Get- Returns:
-
getImageTilt
-
getImageHeading
-
getImageAnglePanbel
-
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
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:
-