Package PamController
Class PamGUIManager
java.lang.Object
PamController.PamGUIManager
Manages references which indicate which GUI PAMGuard is using.
- Author:
- Jamie Macaulay
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PAMControllerGUI
createGUI
(PamController pamController, Object object) Create the GUI (or not)static int
Get the GUI type flag.static boolean
isFX()
Convenience function to check whether the swing is the FX gui.static boolean
isSwing()
Convenience function to test whether the swing GUI is being used.static void
setType
(int guiType) Set the type.
-
Field Details
-
Constructor Details
-
Method Details
-
createGUI
Create the GUI (or not) -
setType
public static void setType(int guiType) Set the type.- Parameters:
guiType
- - the gui type flag.
-
getGUIType
public static int getGUIType()Get the GUI type flag.- Returns:
-
isSwing
public static boolean isSwing()Convenience function to test whether the swing GUI is being used.- Returns:
- true if the swing GUI is being used.
-
isFX
public static boolean isFX()Convenience function to check whether the swing is the FX gui.- Returns:
- true if the FX gui is being used.
-