Package Layout

Interface DisplayPanelContainer

All Known Implementing Classes:
SpectrogramDisplay

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:
  • Field Summary

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

    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

  • Method Details

    • getXDuration

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

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

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

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

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