seismicVeto
Class VetoPluginPanelProvider

java.lang.Object
  extended by seismicVeto.VetoPluginPanelProvider
All Implemented Interfaces:
DisplayPanelProvider

public class VetoPluginPanelProvider
extends java.lang.Object
implements DisplayPanelProvider

Provide a graphics planel, or panels that can be added to the bottom of spectrogram displays. The implementation of DisplayPanelProvider is only there to let Pamguard know that panels can be created. On request, this will create any number of vetoPluginPanels which will get added to the displays. There are two basic ways that these things can update thier data. One is to follow cue of the redrawing of the spectrogram, the other is to subscribe to the some data block coming out of the detector. In this instance, we subscribe to the backgroundDataBlock in the vetoProcess. Note that we're handling several channels of data here !

Author:
Doug

Nested Class Summary
 class VetoPluginPanelProvider.VetoPluginPanel
          The class that actually does the display work.
 
Field Summary
(package private)  PamDataBlock<VetoBackgroundDataUnit> backgroundDataBlock
           
private  VetoController vetoController
           
 
Constructor Summary
VetoPluginPanelProvider(VetoController vetoController)
           
 
Method Summary
 DisplayPanel createDisplayPanel(DisplayPanelContainer displayPanelContainer)
           
 java.lang.String getDisplayPanelName()
          Get a name for the panel which may be used in options dialogs, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vetoController

private VetoController vetoController

backgroundDataBlock

PamDataBlock<VetoBackgroundDataUnit> backgroundDataBlock
Constructor Detail

VetoPluginPanelProvider

public VetoPluginPanelProvider(VetoController vetoController)
Method Detail

createDisplayPanel

public DisplayPanel createDisplayPanel(DisplayPanelContainer displayPanelContainer)
Specified by:
createDisplayPanel in interface DisplayPanelProvider
Returns:
create the panel to be included in the display

getDisplayPanelName

public java.lang.String getDisplayPanelName()
Description copied from interface: DisplayPanelProvider
Get a name for the panel which may be used in options dialogs, etc.

Specified by:
getDisplayPanelName in interface DisplayPanelProvider
Returns:
a character string