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
Modifier and TypeClassDescriptionclass
Holds info on the GUI components of the display. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompatibleUnit
(Class<? extends PamDataUnit> newDataClass) abstract ArrayList<UserDisplayNodeFX>
getGUI
(int flag) Get the GUI for the PAMControlled unit.int
Get the process for the user display.boolean
True if the display can accept multiple parent data blocks at the same time.boolean
removeCompatibleDataUnit
(Class<? extends PamDataUnit> newDataClass) boolean
void
setMultiParent
(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, getUnitType, getVerboseLevel, gotoTab, isInMainConfiguration, isNetRx, isViewer, notifyModelChanged, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setModuleStatusManager, setPamConfiguration, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setToolbarComponent, 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:PamControlledUnit
Get the GUI for the PAMControlled unit. This has multiple GUI options which are instantiated depending on the view type.- Overrides:
getGUI
in classPamControlledUnit
- Parameters:
flag
- . The GUI type flag defined in PAMGuiManager.- Returns:
- the GUI for the PamControlledUnit unit.
-