Package userDisplayFX

Class UserDisplayControlFX

java.lang.Object
PamController.PamControlledUnit
userDisplayFX.UserDisplayControlFX
All Implemented Interfaces:
SettingsNameProvider
Direct Known Subclasses:
DetectionDisplayControl, DetectionDisplayControl2, TDDisplayController

public abstract class UserDisplayControlFX extends PamControlledUnit
Class which acts as a plug in for a display in PAMGUARDFX. Modules may have their own displays or a UserDisplayControlFX can be used to create a more generic display, which may, for example, plug in to many different modules.
Author:
Jamie Macaulay
  • Field Details

    • defUnitType

      public static String defUnitType
  • Constructor Details

    • UserDisplayControlFX

      public UserDisplayControlFX(String unitName)
  • Method Details

    • getUserDisplayProcess

      public UserDisplayProcess getUserDisplayProcess()
      Get the process for the user display. This handles compatible data units and current parent data blocks etc.
      Returns:
      the user display process.
    • addCompatibleUnit

      public void addCompatibleUnit(Class<? extends PamDataUnit> newDataClass)
    • getNCompatibleDataUnits

      public int getNCompatibleDataUnits()
    • removeCompatibleDataUnit

      public boolean removeCompatibleDataUnit(Class<? extends PamDataUnit> newDataClass)
    • removeCompatibleDataUnits

      public boolean removeCompatibleDataUnits()
    • isMultiParent

      public boolean isMultiParent()
      True if the display can accept multiple parent data blocks at the same time.
      Returns:
      true if the display can accept multiple parent data blocks.
    • setMultiParent

      public void setMultiParent(boolean multiParent)
      Set whether the display can accept multiple parent data blocks at the same time.
      Parameters:
      multiParent - true if the display can accept multiple parent data blocks.
    • getDisplays

      public abstract ArrayList<UserDisplayNodeFX> getDisplays()
    • getGUI

      public UserDisplayControlFX.DisplayControlGUI getGUI(int flag)
      Description copied from class: PamControlledUnit
      Get the GUI for the PAMControlled unit. This has multiple GUI options which are instantiated depending on the view type.
      Overrides:
      getGUI in class PamControlledUnit
      Parameters:
      flag - . The GUI type flag defined in PAMGuiManager.
      Returns:
      the GUI for the PamControlledUnit unit.