Package dataPlotsFX
Class TDControlAWT
java.lang.Object
dataPlotsFX.TDControl
dataPlotsFX.TDControlAWT
- All Implemented Interfaces:
PamSettings
,SettingsNameProvider
,UserDisplayComponent
TDControlFX acts as a wrapper class for a time base display programmed in JavaFX.
- Author:
- Jamie Macaulay
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
This panel acts as an interface between the swing awt thread here and the JavaFX components in the tdgraph. -
Constructor Summary
ConstructorDescriptionTDControlAWT
(TDDisplayProviderFX tdDisplayProviderFX, UserDisplayControl userDisplayControl, String uniqueDisplayName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the component is removed from the display.dataPlotsFX.TDControlAWT.DataObserver
Get the data observer- monitors incoming real time data an updates graphs.Get a title for the frame the component will be added to.Get the main display.boolean
isPaused()
In real time mode check if PAMGUARD is paused.void
notifyModelChanged
(int changeType) Pick up model changed notifications from a parent user display.void
Called when the component is first displayed.Methods inherited from class dataPlotsFX.TDControl
dataModelToDisplay, getSettingsReference, getSettingsVersion, getTdParameters, getUniqueName, getUnitName, getUnitType, isRunning, isStopped, isViewer, newSelectedDetectionGroup, restoreSettings, setUniqueName
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface userDisplay.UserDisplayComponent
getUniqueName, setUniqueName
-
Constructor Details
-
TDControlAWT
public TDControlAWT(TDDisplayProviderFX tdDisplayProviderFX, UserDisplayControl userDisplayControl, String uniqueDisplayName)
-
-
Method Details
-
getComponent
- Specified by:
getComponent
in interfaceUserDisplayComponent
- Returns:
- The Swing component to add to the frame
-
getMainDisplay
Get the main display.- Returns:
- the main display.
-
getDataObserver
public dataPlotsFX.TDControlAWT.DataObserver getDataObserver()Get the data observer- monitors incoming real time data an updates graphs.- Specified by:
getDataObserver
in classTDControl
- Returns:
- data observer
-
openComponent
public void openComponent()Description copied from interface:UserDisplayComponent
Called when the component is first displayed.- Specified by:
openComponent
in interfaceUserDisplayComponent
-
closeComponent
public void closeComponent()Description copied from interface:UserDisplayComponent
Called when the component is removed from the display.- Specified by:
closeComponent
in interfaceUserDisplayComponent
-
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from interface:UserDisplayComponent
Pick up model changed notifications from a parent user display.- Specified by:
notifyModelChanged
in interfaceUserDisplayComponent
-
isPaused
public boolean isPaused()In real time mode check if PAMGUARD is paused. -
getFrameTitle
Description copied from interface:UserDisplayComponent
Get a title for the frame the component will be added to.- Specified by:
getFrameTitle
in interfaceUserDisplayComponent
- Returns:
- a title for the components frame.
-