Package userDisplayFX
Class UserDisplayControlFX
java.lang.Object
PamController.PamControlledUnit
userDisplayFX.UserDisplayControlFX
- All Implemented Interfaces:
SettingsNameProvider
- Direct Known Subclasses:
DetectionDisplayControl,DetectionDisplayControl2,TDDisplayController
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassHolds info on the GUI components of the display. -
Field Summary
FieldsFields inherited from class PamController.PamControlledUnit
isMixed, isViewer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompatibleUnit(Class<? extends PamDataUnit> newDataClass) abstract ArrayList<UserDisplayNodeFX> getGUI(int flag) Get the GUI for the PAMControlled unit.intGet the process for the user display.booleanTrue if the display can accept multiple parent data blocks at the same time.booleanremoveCompatibleDataUnit(Class<? extends PamDataUnit> newDataClass) booleanvoidsetMultiParent(boolean multiParent) Set whether the display can accept multiple parent data blocks at the same time.Methods inherited from class PamController.PamControlledUnit
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addPamProcess, addRelatedMenuItems, canClose, canPlayViewerSound, createDetectionMenu, createDisplayMenu, createFileMenu, createHelpMenu, flushDataBlockBuffers, getBackupInformation, getFrameNumber, getGuiFrame, getInstanceIndex, getModuleStatus, getModuleStatusManager, getModuleSummary, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineState, getOfflineTaskGroup, getPamConfiguration, getPamController, getPamModuleInfo, getPamProcess, getPamView, getPlugin, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitTaskManager, getUnitTaskManager, getUnitType, getVerboseLevel, gotoTab, isInMainConfiguration, isNetRx, isViewer, notifyModelChanged, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setModuleStatusManager, setPamConfiguration, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setToolbarComponent, setUnitTaskManager, setupControlledUnit, stopViewerSound, tellModule, terminalPrint, terminalPrintln, toString
-
Field Details
-
defUnitType
-
-
Constructor Details
-
UserDisplayControlFX
-
-
Method Details
-
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
-
getNCompatibleDataUnits
public int getNCompatibleDataUnits() -
removeCompatibleDataUnit
-
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
-
getGUI
Description copied from class:PamControlledUnitGet the GUI for the PAMControlled unit. This has multiple GUI options which are instantiated depending on the view type.- Overrides:
getGUIin classPamControlledUnit- Parameters:
flag- . The GUI type flag defined in PAMGuiManager.- Returns:
- the GUI for the PamControlledUnit unit.
-