Package Layout

Interface DisplayPanelContainer


public interface DisplayPanelContainer
DisplayPanelContainer is an interface implemented by graphics components which have the ability to incorporate DisplayPanels from other Pamguard modules.

Each DisplayPanelProvider privides a reference to a JPanel that the DisplayPanelContainer is responsible for incorporating into a display and sizing appropriately.

The DisplayPanelContiner is responsible for all timing (along the x axis of the display) and the plug in panel will use these funtions to get appropriate time / scale information.

DisplayPanelContainer is currently only implemented in the spectrogram display

Author:
Doug Gillespie
See Also:
  • DisplayPanel
  • DisplayPanelProvider
  • DisplayProviderList
  • SpectrogramDisplay
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    double
    current pixel (need not be integer !
    long
    get the time at the cursor in milliseconds
    double
    get the display duration in milliseconds
    void
    panelNotify(int noteType)
    notification from a display panel that it's necessary to perform some action - such as redrawing axis.
    boolean
     
  • Field Details Link icon

  • Method Details Link icon

    • getXDuration Link icon

      double getXDuration()
      get the display duration in milliseconds
    • getCurrentXTime Link icon

      long getCurrentXTime()
      get the time at the cursor in milliseconds
    • getCurrentXPixel Link icon

      double getCurrentXPixel()
      current pixel (need not be integer !
    • wrapDisplay Link icon

      boolean wrapDisplay()
      Returns:
      true if the display wraps (rather than scrolls).
    • panelNotify Link icon

      void panelNotify(int noteType)
      notification from a display panel that it's necessary to perform some action - such as redrawing axis.
      Parameters:
      noteType -