Class DialogProgress

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, BaseXWindow

public final class DialogProgress extends BaseXDialog implements ActionListener
Dialog window for displaying the progress of a command execution.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
See Also:
  • Method Details

    • cancel

      public void cancel()
      Description copied from class: BaseXDialog
      Cancels the dialog; can be overwritten.
      Overrides:
      cancel in class BaseXDialog
    • close

      public void close()
      Description copied from class: BaseXDialog
      Closes the dialog and stores the location of the dialog window; can be overwritten.
      Overrides:
      close in class BaseXDialog
    • dispose

      public void dispose()
      Overrides:
      dispose in class BaseXDialog
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • execute

      public static void execute(GUI gui, Command... cmds)
      Runs the specified commands, decorated by a progress dialog, and calls BaseXDialog.action(java.lang.Object) if the dialog is closed.
      Parameters:
      gui - reference to the main window
      cmds - commands to be run