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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdifarNotification(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()booleanvoidvoidRestore maximum valuesvoidCalled when user clicks on the DIFARgram with the left mouse buttonvoidCalled when the zoom state of the control panel changes.
-
Field Details
-
cursor
-
spectrogramImageChoice
public int spectrogramImageChoice
-
-
Constructor Details
-
DIFARGram
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceDIFARDisplayUnit
-
getComponent
- Specified by:
getComponentin interfaceDIFARDisplayUnit
-
getDifarGroupPanel
-
difarNotification
- Specified by:
difarNotificationin 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.
-