Package PamController
Class PAMStartupEnabler
java.lang.Object
PamController.PAMStartupEnabler
Class to handle some temporary disabling of the PAMGuard start button during
creating of objects at startup. this is particulalry needed to handle
objects being crated on the FX thread.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Call to disable the GUI.static void
Call to enable the GUI.
-
Constructor Details
-
PAMStartupEnabler
public PAMStartupEnabler()
-
-
Method Details
-
addDisableCount
public static void addDisableCount()Call to disable the GUI. If you call this, you MUST then call dropDisableCount() or PAMGuard will remain disabled. -
dropDisableCount
public static void dropDisableCount()Call to enable the GUI. This shold only be called AFTER a call to addDiableCount().
-