Package userDisplay

Interface UserDisplayComponent

All Known Implementing Classes:
AlarmDisplayTable, AnalogDiagnosticsDisplay, ArraySensorComponent, BackupDisplayComponent, BeamLocDisplayComponent, BearingDisplayComponent, ClipDisplayPanel, DetectionGroupTable, DifarDisplayContainer, DifarDisplayContainer2, EffortDisplayPanel, LocaliserDisplayControlAWT, Map3DDisplayComponent, QADisplayPanel, RadarDisplayComponent, SimpleMap, SonobuoyManagerContainer, SpectrogramDisplayComponent, TDControl, TDControlAWT, UserDisplayComponentAdapter

public interface UserDisplayComponent
Class to hold information about and send notifications to open user display components.
Author:
dg50
  • Method Details

    • getComponent

      Component getComponent()
      Returns:
      The Swing component to add to the frame
    • openComponent

      void openComponent()
      Called when the component is first displayed.
    • closeComponent

      void closeComponent()
      Called when the component is removed from the display.
    • notifyModelChanged

      void notifyModelChanged(int changeType)
      Pick up model changed notifications from a parent user display.
      Parameters:
      changeType -
    • getUniqueName

      String getUniqueName()
      Returns:
      a unique name (across all of PAMGuard) which will be used for mark overlays and settings storage.
    • setUniqueName

      void setUniqueName(String uniqueName)
      Set a unique name for every display. This is important for saving settings and for managing things that need a unique name such as overlay marks and markers.
    • getFrameTitle

      String getFrameTitle()
      Get a title for the frame the component will be added to.
      Returns:
      a title for the components frame.