rocca
Class RoccaGraphics

java.lang.Object
  extended by PamView.PamDetectionOverlayGraphics
      extended by rocca.RoccaGraphics
All Implemented Interfaces:
ManagedSymbol, PanelOverlayDraw

public class RoccaGraphics
extends PamDetectionOverlayGraphics

Author:
Michael Oswald Implementation of PanelOverlayDraw for whistles so that the spectrogram can draw whistles over the spectrogram data

Shamelessly copied from WhistleGraphics.java


Field Summary
(package private)  java.awt.Color[] contourColours
           
(package private)  int iCol
           
(package private)  RoccaProcess roccaProcess
           
 
Fields inherited from class PamView.PamDetectionOverlayGraphics
lineColour
 
Constructor Summary
RoccaGraphics(RoccaProcess roccaProcess)
           
 
Method Summary
(package private)  java.awt.Rectangle drawContourShape(java.awt.Graphics g, RoccaSightingDataUnit rsdu, GeneralProjector projector)
           
protected  java.awt.Rectangle drawOnSpectrogram(java.awt.Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector)
          Draw on spectrogram changed March 2010 so that the default time unit is milliseconds (Jave time from 1970) rather than samples.
 
Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDrawOnMap, canDrawOnRadar, canDrawOnSpectrogram, createKeyItem, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnMap, drawRangeOnRadar, getDefaultRange, 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

roccaProcess

RoccaProcess roccaProcess

contourColours

java.awt.Color[] contourColours

iCol

int iCol
Constructor Detail

RoccaGraphics

public RoccaGraphics(RoccaProcess roccaProcess)
Method Detail

drawOnSpectrogram

protected java.awt.Rectangle drawOnSpectrogram(java.awt.Graphics g,
                                               PamDataUnit pamDataUnit,
                                               GeneralProjector generalProjector)
Description copied from class: PamDetectionOverlayGraphics
Draw on spectrogram changed March 2010 so that the default time unit is milliseconds (Jave time from 1970) rather than samples. This makes it posible to work with data colected over multiple files when operating in viewer mode.

Overrides:
drawOnSpectrogram in class PamDetectionOverlayGraphics
Returns:

drawContourShape

java.awt.Rectangle drawContourShape(java.awt.Graphics g,
                                    RoccaSightingDataUnit rsdu,
                                    GeneralProjector projector)