clickDetector
Class WignerPlot
java.lang.Object
Layout.PamFramePlots
clickDetector.ClickDisplay
clickDetector.WignerPlot
- All Implemented Interfaces:
- PamSettings
public class WignerPlot
- extends ClickDisplay
- implements PamSettings
| Methods inherited from class Layout.PamFramePlots |
getAxisPanel, getCopyMenuItem, getEastPanel, getFrame, getNorthPanel, getPlotPanel, getSouthPanel, getWestPanel, repaint, setAxisPanel, setEastPanel, setFrame, setNorthPanel, setPlotPanel, setSouthPanel, setWestPanel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clickControl
private ClickControl clickControl
wignerAxes
private WignerPlot.WignerAxes wignerAxes
wignerGraph
private WignerPlot.WignerGraph wignerGraph
colorArray
private ColourArray colorArray
NCOLOURS
private static final int NCOLOURS
- See Also:
- Constant Field Values
southAxis
private PamAxis southAxis
westAxis
private PamAxis westAxis
wignerPlotOptions
private WignerPlotOptions wignerPlotOptions
lastClick
private ClickDetection lastClick
wignerData
private double[][] wignerData
wignerMin
private double wignerMin
wignerMax
private double wignerMax
wignerImage
private java.awt.image.BufferedImage wignerImage
plottedChan
private int plottedChan
WignerPlot
public WignerPlot(ClickControl clickControl,
ClickDisplayManager clickDisplayManager,
ClickDisplayManager.ClickDisplayInfo clickDisplayInfo)
noteNewSettings
public void noteNewSettings()
- Specified by:
noteNewSettings in class ClickDisplay
getName
public java.lang.String getName()
- Specified by:
getName in class PamFramePlots
clickedOnClick
public void clickedOnClick(ClickDetection click)
- Overrides:
clickedOnClick in class ClickDisplay
createPlot
private void createPlot(int chan)
createImage
private void createImage()
getSettingsReference
public java.io.Serializable getSettingsReference()
- Specified by:
getSettingsReference in interface PamSettings
- Returns:
- The serialisable object that will be stored
getSettingsVersion
public long getSettingsVersion()
- Specified by:
getSettingsVersion in interface PamSettings
- Returns:
- An integer version number for the settings
getUnitName
public java.lang.String getUnitName()
- Specified by:
getUnitName in interface PamSettings
- Returns:
- A Name specific to this instance of the particular class, e.g.
Sperm whale detector, Beaked whale detector, etc.
getUnitType
public java.lang.String getUnitType()
- Specified by:
getUnitType in interface PamSettings
- Returns:
- A Name specific to the type, e.g. Glick detector
restoreSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
- Specified by:
restoreSettings in interface PamSettings
- Returns:
- true if successful The object performs final checks (if needed)
and then casts the settings data
pamcontrolledunitSettings.settings into the correct type and uses
as required