Package difar.display
Class DIFARGram
java.lang.Object
difar.display.DIFARGram
- All Implemented Interfaces:
DIFARDisplayUnit
Display window for viewing and selecting bearings from difarDataUnits
Contains a spectrogram, the DIFARGram (i.e. bearing, frequency, power
ambiguity surface), user controls (e.g. save, delete, etc.) and a
status bar.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
difarNotification
(DIFARMessage difarMessage) int[]
getFreqImageBins
(DifarDataUnit difarDataUnit, BufferedImage difarImage) Image may be zoomed in frequency so may only plot a subset of the available image.getName()
boolean
void
void
Restore maximum valuesvoid
Called when user clicks on the DIFARgram with the left mouse buttonvoid
Called when the zoom state of the control panel changes.
-
Field Details
-
cursor
-
spectrogramImageChoice
public int spectrogramImageChoice
-
-
Constructor Details
-
DIFARGram
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceDIFARDisplayUnit
-
getComponent
- Specified by:
getComponent
in interfaceDIFARDisplayUnit
-
getDifarGroupPanel
-
difarNotification
- Specified by:
difarNotification
in interfaceDIFARDisplayUnit
-
prepareDifarImage
public boolean prepareDifarImage() -
repaintAll
public void repaintAll() -
getFreqImageBins
Image may be zoomed in frequency so may only plot a subset of the available image.- Parameters:
difarDataunit
- difar data unitdifarImage2
- image.- Returns:
- bin limits for drawing of image on difargram and spectrgram
-
setClickedPosition
Called when user clicks on the DIFARgram with the left mouse button- Parameters:
e
- mouse data.
-
createPopupMenu
-
restoreDifarMaximum
public void restoreDifarMaximum()Restore maximum values -
zoomFrequency
public void zoomFrequency()Called when the zoom state of the control panel changes. Remake the axes and repaint the images.
-