Package mapgrouplocaliser
Class MarkGroupProcess
java.lang.Object
PamguardMVC.PamProcess
mapgrouplocaliser.MarkGroupProcess
- All Implemented Interfaces:
 PamObserver,ProcessAnnotator,OverlayMarkObserver
- 
Field Summary
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, parentDataBlock, processName, sampleRateFields inherited from interface PamView.paneloverlay.overlaymark.OverlayMarkObserver
MARK_CANCELLED, MARK_END, MARK_START, MARK_UPDATE, MOUSE_CLICK - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetMarkDataSelector(OverlayMarker overlayMarker) Get a data selector for use with a specific type of mark.Name of the mark.getPopupMenuItems(DetectionGroupSummary markSummaryData) Get a menu, or menu items which can be used to display on the marking display in response to a right click or some other action.Required parameters for the mark to get used.booleanmarkUpdate(int markStatus, javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark) Mark update called whenever a mark changesvoidpamStart()Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).voidpamStop()Stops the process.Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCompatibleDataUnits, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, newData, noteNewSettings, notifyModelChanged, prepareProcess, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString, updateDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface PamView.paneloverlay.overlaymark.OverlayMarkObserver
getObserverName 
- 
Constructor Details
- 
MarkGroupProcess
 
 - 
 - 
Method Details
- 
pamStart
public void pamStart()Description copied from class:PamProcessCalled for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
 pamStartin classPamProcess
 - 
pamStop
public void pamStop()Description copied from class:PamProcessStops the process.- Specified by:
 pamStopin classPamProcess
 - 
markUpdate
public boolean markUpdate(int markStatus, javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark) Description copied from interface:OverlayMarkObserverMark update called whenever a mark changes- Specified by:
 markUpdatein interfaceOverlayMarkObserver- Parameters:
 markStatus- start, end, update, cancel, etc.overlayMarker- Source of the mark (generally a display)overlayMark- updated mark.- Returns:
 - true if the observer has used the mark.
 
 - 
getMarkGroupSQLLogging
- Returns:
 - the markGroupSQLLogging
 
 - 
getRequiredParameterTypes
Description copied from interface:OverlayMarkObserverRequired parameters for the mark to get used. Can be null in which case the mark can accept anything, might be something like TIME invalid input: '&' FREQUENCY, etc.- Specified by:
 getRequiredParameterTypesin interfaceOverlayMarkObserver- Returns:
 - list of parameters (up to three).
 
 - 
getPopupMenuItems
Description copied from interface:OverlayMarkObserverGet a menu, or menu items which can be used to display on the marking display in response to a right click or some other action.The menu items will be put into a popup menu for display.
- Specified by:
 getPopupMenuItemsin interfaceOverlayMarkObserver- Parameters:
 markSummaryData- everything we need to know about the mark, including which data are within it.- Returns:
 - A menu item (can be null)
 
 - 
getMarkDataSelector
Description copied from interface:OverlayMarkObserverGet a data selector for use with a specific type of mark.- Specified by:
 getMarkDataSelectorin interfaceOverlayMarkObserver- Parameters:
 overlayMarker- Marker- Returns:
 - Data selector (can be null)
 
 - 
getMarkName
Description copied from interface:OverlayMarkObserverName of the mark. Observers may have several mark types and might want to change the name to indicate what action will be taken when a mark is made- Specified by:
 getMarkNamein interfaceOverlayMarkObserver- Returns:
 
 - 
getMarkGroupDataBlock
- Returns:
 - the markGroupDataBlock
 
 
 -