Class BinaryUpdateDialog

All Implemented Interfaces:
UpdateWorkObserver, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, CancelObserver

public class BinaryUpdateDialog extends PamDialog implements UpdateWorkObserver, CancelObserver
See Also:
  • Method Details

    • showDialog

      public static boolean showDialog(Window parent, BinaryUpdater binaryUpdater)
    • getParams

      public boolean getParams()
      Description copied from class: PamDialog
      called when the Ok button is pressed. This must return true in order that the dialog may close. It should also copy all parameters into an object that will be returned by showDialog.
      Specified by:
      getParams in class PamDialog
    • update

      public void update(UpdateWorkProgress updateWorkProgress)
      Description copied from interface: UpdateWorkObserver
      Get progres updates from worker
      Specified by:
      update in interface UpdateWorkObserver
      Parameters:
      updateWorkProgress -
    • cancelButtonPressed

      public void cancelButtonPressed()
      Description copied from class: PamDialog
      called when the cancel button is pressed before the dialog closes. Generally you should set the parameters returned by the dialog to null or some default value, or in some other way indicate that Cancel was pressed.
      Specified by:
      cancelButtonPressed in class PamDialog
    • restoreDefaultSettings

      public void restoreDefaultSettings()
      Description copied from class: PamDialog
      standard function which should us used to copy default parameters into the dialog controls.
      Specified by:
      restoreDefaultSettings in class PamDialog
    • done

      public void done()
      Specified by:
      done in interface UpdateWorkObserver
    • cancelPressed

      public boolean cancelPressed()
      Description copied from interface: CancelObserver
      Called whenever a PamDialog cancel button is pressed.
      Specified by:
      cancelPressed in interface CancelObserver
      Returns:
      true if the cancel function can proceed. False otherwise.