Package PamController

Class PamGUIManager

java.lang.Object
PamController.PamGUIManager

public class PamGUIManager extends Object
Manages references which indicate which GUI PAMGuard is using.
Author:
Jamie Macaulay
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Flag for the swing GUI.
    static final int
    Flag for the swing GUI.
    static final int
    Flag for the JavaFX GUI.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    createGUI(PamController pamController, Object object)
    Create the GUI (or not)
    static int
    Get the GUI type flag.
    static boolean
    Convenience function to check whether the swing is the FX gui.
    static boolean
    Convenience function to test whether the swing GUI is being used.
    static void
    setType(int guiType)
    Set the type.

    Methods inherited from class java.lang.Object Link icon

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

  • Constructor Details Link icon

    • PamGUIManager Link icon

      public PamGUIManager()
  • Method Details Link icon

    • createGUI Link icon

      public static PAMControllerGUI createGUI(PamController pamController, Object object)
      Create the GUI (or not)
    • setType Link icon

      public static void setType(int guiType)
      Set the type.
      Parameters:
      guiType - - the gui type flag.
    • getGUIType Link icon

      public static int getGUIType()
      Get the GUI type flag.
      Returns:
    • isSwing Link icon

      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 Link icon

      public static boolean isFX()
      Convenience function to check whether the swing is the FX gui.
      Returns:
      true if the FX gui is being used.