clickDetector
Class ClickTrainGraphics

java.lang.Object
  extended by PamView.PamDetectionOverlayGraphics
      extended by clickDetector.ClickTrainGraphics
All Implemented Interfaces:
ManagedSymbol, PanelOverlayDraw

public class ClickTrainGraphics
extends PamDetectionOverlayGraphics


Field Summary
(package private)  ClickControl clickControl
           
(package private)  ClickGroupDataBlock<ClickTrainDetection> clickTrains
           
(package private)  ClickTrainDetection lastPlottedTrain
           
 
Fields inherited from class PamView.PamDetectionOverlayGraphics
lineColour
 
Constructor Summary
ClickTrainGraphics(ClickControl clickControl, ClickGroupDataBlock<ClickTrainDetection> clickTrains)
           
 
Method Summary
protected  java.awt.Rectangle drawOnMap(java.awt.Graphics g, PamDataUnit pamDetection, GeneralProjector generalProjector)
           
 double getDefaultRange()
           
private  boolean shouldPlot(ClickTrainDetection clickTrainDetection)
           
 
Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDrawOnMap, canDrawOnRadar, canDrawOnSpectrogram, createKeyItem, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnSpectrogram, drawRangeOnRadar, getHoverText, getHydrophones, getLineColor, getLineColour, getMenuKeyItem, getPamSymbol, getPamSymbol, getParentDataBlock, getSymbolInfo, isDetectionData, isDrawLineToLocations, setDefaultRange, setDetectionData, setDrawLineToLocations, setLineColor, setLineColour, setPamSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clickControl

ClickControl clickControl

clickTrains

ClickGroupDataBlock<ClickTrainDetection> clickTrains

lastPlottedTrain

ClickTrainDetection lastPlottedTrain
Constructor Detail

ClickTrainGraphics

ClickTrainGraphics(ClickControl clickControl,
                   ClickGroupDataBlock<ClickTrainDetection> clickTrains)
Method Detail

drawOnMap

protected java.awt.Rectangle drawOnMap(java.awt.Graphics g,
                                       PamDataUnit pamDetection,
                                       GeneralProjector generalProjector)
Overrides:
drawOnMap in class PamDetectionOverlayGraphics

shouldPlot

private boolean shouldPlot(ClickTrainDetection clickTrainDetection)

getDefaultRange

public double getDefaultRange()
Overrides:
getDefaultRange in class PamDetectionOverlayGraphics