Package videoRangePanel.vrmethods
Class AbstractVRGUIAWT
java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
- All Implemented Interfaces:
VROverlayAWT
- Direct Known Subclasses:
CalibrationGUIAWT
,HorizonGUIAWT
,IMUMethodGUI
,LandMarkGUIAWT
,ShoreMethodGUIAWT
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Draw current animals on the imageCreates a panel containing the calibration combo box and labels.Create a panel to show GPS location and allow user to change GPS location method.Creates a panel allowing the user to select a map and view map file.protected void
drawAnimal
(Graphics g, VRMeasurement vr, PamSymbol symbol) Draw an animal on the imageprotected void
drawMarksandLine
(Graphics g, Point p1, Point p2, PamSymbol symbol, boolean drawLine, Point currentMouse) Draw some marks and linesvoid
protected void
Add calibration data to the calibration combo box;void
selectCalibration
(VRCalibrationData vrCalibrationData) void
setGPSText
(LatLong gpsInfo, JTextField gps) Set GPS text.void
setInstruction
(JLabel instruction) Set an instruction.protected void
void
update
(int updateType) Recieves an update flagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface videoRangePanel.vrmethods.VROverlayAWT
getRibbonPanel, getSettingsPanel, getSidePanel, mouseAction, paintMarks
-
Field Details
-
Constructor Details
-
Method Details
-
setInstruction
Set an instruction. This is handfles by a the higher level GUI in the side pane.- Parameters:
instruction
- - the instruction to set.
-
createCalibrationList
Creates a panel containing the calibration combo box and labels.- Returns:
-
createMapFilePanel
Creates a panel allowing the user to select a map and view map file.- Returns:
-
setMapText
protected void setMapText() -
createLocationListPanel
Create a panel to show GPS location and allow user to change GPS location method. -
newCalibration
protected void newCalibration()Add calibration data to the calibration combo box; -
selectCalibration
-
enableControls
public void enableControls() -
setGPSText
Set GPS text.- Parameters:
gpsInfo
-gps
-
-
addAnimals
Draw current animals on the image- Parameters:
g
- - the graphics handle.
-
drawAnimal
Draw an animal on the image- Parameters:
g
- - the graphics handlevr
- - the vr measurementsymbol
- - the symbol
-
drawMarksandLine
protected void drawMarksandLine(Graphics g, Point p1, Point p2, PamSymbol symbol, boolean drawLine, Point currentMouse) Draw some marks and lines- Parameters:
g
- - the graphics handlep1
- - the first pointp2
- - the second pointsymbol
- - the current symboldrawLine
- - draw a linecurrentMouse
- - the current mouse position
-
update
public void update(int updateType) Recieves an update flag- Specified by:
update
in interfaceVROverlayAWT
- Parameters:
updateType
- - the update flag.
-