Package radardisplay
Class RadarDisplay
java.lang.Object
Layout.PamFramePlots
userDisplay.UserFramePlots
radardisplay.RadarDisplay
- All Implemented Interfaces:
 EventListener,InternalFrameListener,PamSettings,SettingsNameProvider,PamObserver
- 
Field Summary
FieldsFields inherited from class userDisplay.UserFramePlots
FRAME_TYPE_RADAR, FRAME_TYPE_SPECTROGRAM, userDisplayControl - 
Constructor Summary
ConstructorsConstructorDescriptionRadarDisplay(UserDisplayControl userDisplayControl, RadarParameters radarParameters, RadarDisplayComponent radarDisplayComponent)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddData(PamObservable o, PamDataUnit pamDataUnit) Informs the PamObserver that new data have been added to the Observable classintgetName()Get a unique name for the displaylonglongvoidmasterClockUpdate(long milliSeconds, long sampleNumber) voidvoidvoidnotifyModelChanged(int changeType) voidreceiveSourceNotification(int type, Object object) Receive a notification from the data source - typically a change in DAQ status.voidcalled when an Observable (PamDataBlock) is removed from the systembooleanrestoreSettings(PamControlledUnitSettings pamControlledUnitSettings) voidsetLastGpsDataUnit(GpsDataUnit lastGpsDataUnit) voidsetSampleRate(float sampleRate, boolean notify) New sample ratevoidupdateData(PamObservable observable, PamDataUnit pamDataUnit) Informs the PamObserver that existing data have been updatedMethods inherited from class userDisplay.UserFramePlots
getUserFrameParameters, internalFrameActivated, internalFrameClosed, internalFrameClosing, internalFrameDeactivated, internalFrameDeiconified, internalFrameIconified, internalFrameOpened, setUserFrameParametersMethods inherited from class Layout.PamFramePlots
checkDualDisplay, getAxisPanel, getCopyMenuItem, getEastPanel, getFrame, getLeftPlotPanel, getNorthPanel, getPlotPanel, getRightPlotPanel, getSouthPanel, getWestPanel, repaint, setAxisPanel, setEastPanel, setFrame, setLeftPlotPanel, setNorthPanel, setPlotPanel, setRightPlotPanel, setSouthPanel, setWestPanel 
- 
Field Details
- 
radarDisplayComponent
 
 - 
 - 
Constructor Details
- 
RadarDisplay
public RadarDisplay(UserDisplayControl userDisplayControl, RadarParameters radarParameters, RadarDisplayComponent radarDisplayComponent)  
 - 
 - 
Method Details
- 
getObserverObject
- Specified by:
 getObserverObjectin interfacePamObserver- Returns:
 - the actual observer. In most cases concrete classes will just return 'this' in response. The exception is the Threaded observer, which will return the single thread observer.
 
 - 
getName
Description copied from class:PamFramePlotsGet a unique name for the display- Overrides:
 getNamein classUserFramePlots- Returns:
 - a unique name for the display.
 
 - 
getRadarParameters
 - 
getFrameType
public int getFrameType()- Specified by:
 getFrameTypein classUserFramePlots
 - 
notifyModelChanged
public void notifyModelChanged(int changeType) - Specified by:
 notifyModelChangedin classUserFramePlots
 - 
newSettings
public void newSettings() - 
getFrameTitle
 - 
getDataSelectTitle
 - 
getObserverName
- Specified by:
 getObserverNamein interfacePamObserver
 - 
getRequiredDataHistory
- Specified by:
 getRequiredDataHistoryin interfacePamObserver- Parameters:
 arg- optional argument from PamObservable- Returns:
 - time in milliseconds required by data held in PamObservable
 
 - 
noteNewSettings
public void noteNewSettings()- Specified by:
 noteNewSettingsin interfacePamObserver
 - 
removeObservable
Description copied from interface:PamObservercalled when an Observable (PamDataBlock) is removed from the system- Specified by:
 removeObservablein interfacePamObserver
 - 
setSampleRate
public void setSampleRate(float sampleRate, boolean notify) Description copied from interface:PamObserverNew sample rate- Specified by:
 setSampleRatein interfacePamObserver- Parameters:
 sampleRate-notify- Notify other PamObservers and PamObservables in the chain.
 - 
masterClockUpdate
public void masterClockUpdate(long milliSeconds, long sampleNumber) - Specified by:
 masterClockUpdatein interfacePamObserver
 - 
addData
Description copied from interface:PamObserverInforms the PamObserver that new data have been added to the Observable class- Specified by:
 addDatain interfacePamObserver
 - 
updateData
Description copied from interface:PamObserverInforms the PamObserver that existing data have been updated- Specified by:
 updateDatain interfacePamObserver
 - 
receiveSourceNotification
Description copied from interface:PamObserverReceive a notification from the data source - typically a change in DAQ status. See the constants listed in AcquisitionProcess for potential change types.- Specified by:
 receiveSourceNotificationin interfacePamObserver- Parameters:
 type- the type of changeobject- generic object added here so that we can include anything in the future
 - 
getLastGpsDataUnit
 - 
setLastGpsDataUnit
 - 
getUnitName
- Specified by:
 getUnitNamein interfaceSettingsNameProvider- Returns:
 - A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
 
 - 
getUnitType
- Specified by:
 getUnitTypein interfacePamSettings- Returns:
 - A Name specific to the type, e.g. Click detector
 
 - 
getSettingsReference
- Specified by:
 getSettingsReferencein interfacePamSettings- Returns:
 - The serialisable object that will be stored
 
 - 
getSettingsVersion
public long getSettingsVersion()- Specified by:
 getSettingsVersionin interfacePamSettings- Returns:
 - An integer version number for the settings
 
 - 
restoreSettings
- Specified by:
 restoreSettingsin interfacePamSettings- Parameters:
 pamControlledUnitSettings-- 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
 
 
 -