Class DataBlockSpeciesPanel

java.lang.Object
tethys.species.swing.DataBlockSpeciesPanel
All Implemented Interfaces:
PamDialogPanel, SpeciesManagerObserver

public class DataBlockSpeciesPanel extends Object implements PamDialogPanel, SpeciesManagerObserver
  • Constructor Details Link icon

    • DataBlockSpeciesPanel Link icon

      public DataBlockSpeciesPanel(PamDataBlock dataBlock, String singleSpecies)
      Panel of info about a species name in PAMGuard relating it to a call type and ITIS code for output to Tethys.
      Parameters:
      dataBlock - Datablock with a DataBlockSpeciesManager
      singleSpecies - single species if only one species to be shown. null for all species.
  • Method Details Link icon

    • getDialogComponent Link icon

      public JComponent getDialogComponent()
      Description copied from interface: PamDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface PamDialogPanel
      Returns:
      an awt component.
    • setParams Link icon

      public void setParams()
      Description copied from interface: PamDialogPanel
      Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.
      Specified by:
      setParams in interface PamDialogPanel
    • getParams Link icon

      public boolean getParams()
      Specified by:
      getParams in interface PamDialogPanel
      Returns:
      true if parameters all have acceptable values and the dialog can close.
    • update Link icon

      public void update()
      Specified by:
      update in interface SpeciesManagerObserver