Class TargetMotionMainPanel<T extends PamDataUnit>

java.lang.Object
targetMotionModule.panels.TargetMotionMainPanel<T>
All Implemented Interfaces:
ColorManaged, PamTabPanel

public class TargetMotionMainPanel<T extends PamDataUnit> extends Object implements PamTabPanel, ColorManaged
  • Field Details Link icon

    • northPanelHeight Link icon

      public static final int northPanelHeight
      See Also:
    • currentLocalisation Link icon

      public JTextField currentLocalisation
    • comment Link icon

      public JTextField comment
    • settings Link icon

      public static org.kordamp.ikonli.swing.FontIcon settings
  • Constructor Details Link icon

  • Method Details Link icon

    • createMaps Link icon

      public void createMaps()
      Create the maps. This needs to be done after pamguard has initialised because of 3D components.
    • getMap3D Link icon

      public MapPanel getMap3D()
    • getMap2D Link icon

      public MapPanel getMap2D()
    • showLoadBar Link icon

      public void showLoadBar(boolean show)
    • updateControlPanelList Link icon

      public void updateControlPanelList()
      Get the current control panels.
    • changeControlPanel Link icon

      public void changeControlPanel()
    • createCommentPanel Link icon

      public PamPanel createCommentPanel()
    • createSavePanel Link icon

      public PamPanel createSavePanel()
      Create panel which allows users to save results
      Returns:
    • update Link icon

      public void update(int flag)
    • dataChanged Link icon

      public void dataChanged(T pamDetection)
      Called when data in the main source data block are changed
      Parameters:
      pamDetection -
    • updateCurrentControlPanel Link icon

      public void updateCurrentControlPanel()
    • getCurrentControlPanel Link icon

      public AbstractControlPanel getCurrentControlPanel()
    • enableControls Link icon

      public void enableControls()
    • canRun Link icon

      public boolean canRun()
    • start Link icon

      public void start(boolean runAll)
      Start a run. Will need to get options from various sub panels to work out what to actually do.

      Currently just do it all in this thread. In future, will try to rethread so multiple models can run concurrently.

    • notifyNewResults Link icon

      public void notifyNewResults()
    • getUserComment Link icon

      public String getUserComment()
    • getColorId Link icon

      public PamColors.PamColor getColorId()
      Description copied from interface: ColorManaged
      The components colour scheme.
      Specified by:
      getColorId in interface ColorManaged
      Returns:
      PamColor
    • createMenu Link icon

      public JMenu createMenu(Frame parentFrame)
      Specified by:
      createMenu in interface PamTabPanel
      Returns:
      a JMeny for the panel
    • getPanel Link icon

      public JComponent getPanel()
      Specified by:
      getPanel in interface PamTabPanel
      Returns:
      Reference to a graphics component that can be added to the view. This will typically be a JPanel or a JInternalFrame;
    • getToolBar Link icon

      public JToolBar getToolBar()
      Specified by:
      getToolBar in interface PamTabPanel
      Returns:
      a JToolbas associated with this tab. This will only be displayed when the current tab is activated
    • getTargetMotionControl Link icon

      public TargetMotionControl getTargetMotionControl()