public class DIFARGram extends java.lang.Object implements DIFARDisplayUnit
Modifier and Type | Field and Description |
---|---|
VRCursor |
cursor |
int |
spectrogramImageChoice |
Constructor and Description |
---|
DIFARGram(DifarControl difarControl) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JPopupMenu |
createPopupMenu(java.awt.event.MouseEvent e) |
int |
difarNotification(DIFARMessage difarMessage) |
java.awt.Component |
getComponent() |
DIFARGroupPanel |
getDifarGroupPanel() |
int[] |
getFreqImageBins(DifarDataUnit difarDataUnit,
java.awt.image.BufferedImage difarImage)
Image may be zoomed in frequency so may only plot a subset of
the available image.
|
java.lang.String |
getName() |
boolean |
prepareDifarImage() |
void |
repaintAll() |
void |
restoreDifarMaximum()
Restore maximum values
|
void |
setClickedPosition(java.awt.event.MouseEvent e)
Called when user clicks on the DIFARgram with the left mouse button
|
void |
zoomFrequency()
Called when the zoom state of the control panel changes.
|
public VRCursor cursor
public int spectrogramImageChoice
public DIFARGram(DifarControl difarControl)
public java.lang.String getName()
getName
in interface DIFARDisplayUnit
public java.awt.Component getComponent()
getComponent
in interface DIFARDisplayUnit
public DIFARGroupPanel getDifarGroupPanel()
public int difarNotification(DIFARMessage difarMessage)
difarNotification
in interface DIFARDisplayUnit
public boolean prepareDifarImage()
public void repaintAll()
public int[] getFreqImageBins(DifarDataUnit difarDataUnit, java.awt.image.BufferedImage difarImage)
difarDataunit
- difar data unitdifarImage2
- image.public void setClickedPosition(java.awt.event.MouseEvent e)
e
- mouse data.public javax.swing.JPopupMenu createPopupMenu(java.awt.event.MouseEvent e)
public void restoreDifarMaximum()
public void zoomFrequency()