Class GUIUtil

java.lang.Object
org.yamcs.studio.script.GUIUtil
Direct Known Subclasses:
GUIUtil

public class GUIUtil extends Object
The utility class to facilitate script programming in GUI operation.
  • Constructor Details

    • GUIUtil

      public GUIUtil()
  • Method Details

    • openPasswordDialog

      public static boolean openPasswordDialog(String dialogMessage, String password)
      Open a password dialog to allow user to input password.
      Parameters:
      dialogMessage - the message on the dialog.
      password - the password
      Returns:
      true if user has input the correct password and clicked OK button. false otherwise.
    • openConfirmDialog

      public static boolean openConfirmDialog(String dialogMessage)
      Open a dialog to ask for confirmation.
      Parameters:
      dialogMessage - the message on the dialog.
      Returns:
      true if user has clicked the YES button. False otherwise.
    • openInformationDialog

      public static void openInformationDialog(String dialogMessage)
    • openWarningDialog

      public static void openWarningDialog(String dialogMessage)
    • openErrorDialog

      public static void openErrorDialog(String dialogMessage)
    • fullScreen

      public static void fullScreen()
      Enter or exit full screen.