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
Nested ClassesModifier and TypeClassDescriptionclassThis panel acts as an interface between the swing awt thread here and the JavaFX components in the tdgraph. -
Field Summary
Fields inherited from class dataPlotsFX.TDControl
tdMainDisplay -
Constructor Summary
ConstructorsConstructorDescriptionTDControlAWT(TDDisplayProviderFX tdDisplayProviderFX, UserDisplayControl userDisplayControl, String uniqueDisplayName) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the component is removed from the display.dataPlotsFX.TDControlAWT.DataObserverGet 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.booleanisPaused()In real time mode check if PAMGUARD is paused.voidnotifyModelChanged(int changeType) Pick up model changed notifications from a parent user display.voidCalled when the component is first displayed.Methods inherited from class dataPlotsFX.TDControl
addDataBlock, dataModelToDisplay, getSettingsReference, getSettingsVersion, getTDDisplay, getTdParameters, getUniqueName, getUnitName, getUnitType, isRunning, isStopped, isViewer, newSelectedDetectionGroup, prepareSerialisedSettings, removeTDDataInfo, restoreSettings, setTDDisplay, setUniqueName, updateProviderRegisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface userDisplay.UserDisplayComponent
getUniqueName, setUniqueName
-
Constructor Details
-
TDControlAWT
public TDControlAWT(TDDisplayProviderFX tdDisplayProviderFX, UserDisplayControl userDisplayControl, String uniqueDisplayName)
-
-
Method Details
-
getComponent
- Specified by:
getComponentin 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:
getDataObserverin classTDControl- Returns:
- data observer
-
openComponent
public void openComponent()Description copied from interface:UserDisplayComponentCalled when the component is first displayed.- Specified by:
openComponentin interfaceUserDisplayComponent
-
closeComponent
public void closeComponent()Description copied from interface:UserDisplayComponentCalled when the component is removed from the display.- Specified by:
closeComponentin interfaceUserDisplayComponent
-
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from interface:UserDisplayComponentPick up model changed notifications from a parent user display.- Specified by:
notifyModelChangedin interfaceUserDisplayComponent- Parameters:
changeType-
-
isPaused
public boolean isPaused()In real time mode check if PAMGUARD is paused. -
getFrameTitle
Description copied from interface:UserDisplayComponentGet a title for the frame the component will be added to.- Specified by:
getFrameTitlein interfaceUserDisplayComponent- Returns:
- a title for the components frame.
-