Package PamView

Class ImportLoadBar

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

public class ImportLoadBar extends PamDialog
See Also:
  • Field Details

  • Constructor Details

    • ImportLoadBar

      public ImportLoadBar(Window parentFrame, String name)
  • Method Details

    • showDialog

      public static ImportLoadBar showDialog(Window parentFrame, String name)
    • setTextUpdate

      public void setTextUpdate(String string)
    • getCancelButton

      public JButton getCancelButton()
      Description copied from class: PamDialog
      getter for cancel button so that you can change it's name from the default value
      Overrides:
      getCancelButton in class PamDialog
      Returns:
      reference to the cancel button
    • setVisible

      public void setVisible(boolean visible)
      Overrides:
      setVisible in class PamDialog
    • setProgress

      public void setProgress(int progress)
    • setIntermediate

      public void setIntermediate(boolean intermediate)
    • isIntermediate

      public boolean isIntermediate()
    • setMax

      public void setMax(int max)
    • 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
    • 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